How to enable assembly bind failure logging (Fusion) in .NET

后端 未结 13 2866
难免孤独
难免孤独 2020-11-21 04:50

How do I enable assembly bind failure logging (Fusion) in .NET?

13条回答
  •  闹比i
    闹比i (楼主)
    2020-11-21 05:22

    Set the following registry value:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion!EnableLog] (DWORD) to 1

    To disable, set to 0 or delete the value.

    [edit ]:Save the following text to a file, e.g FusionEnableLog.reg, in Windows Registry Editor Format:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
    "EnableLog"=dword:00000001
    

    Then run the file from windows explorer and ignore the warning about possible damage.

提交回复
热议问题