debug .NET Assembly loading


Create a text file named fusionLog.reg
Edit it with notepad and add the following content:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
"ZapQuotaInKB"=dword:000f4240
"ViewerAttributes"=dword:50b00149
"LogFailures"=dword:00000001
"LogPath"="c:\\log\\Fusion"
"ForceLog"=dword:00000000
"LogResourceBind"=dword:00000001

 

create a folder c:\log\fusion

 

double click the fusionLog.reg file and accept adding info in the registry

Each time an assembly fails to load, a log file is created in c:\log\fusion folder

In order to also see successes, change ForceLog to 1

Skip to main content