enable assembly bind failure logging (Fusion) in .NET

今天遇到新建wcf项目编译成64位版本在64位windows上无法运气的,问题

先百度了一下如何查看程序集加载日志:

 

Add the following values to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
Add:
DWORD ForceLog set value to 1
DWORD LogFailures set value to 1
DWORD LogResourceBinds set value to 1
String LogPath set value to folder for logs (e.g. C:\FusionLog\)

Make sure you include the backslash after the folder name and that the Folder exists.

You need to restart the program that you‘re running to force it to read those registry settings.

 

最后发现iisexpress调用了Framework\v4.0.30319\clr.dll下面的clr,我擦这是32位的clr啊

 

然后百度了一下,发现vs2012带的iisexpress就是32位的

解决方案地址如下:http://www.cnblogs.com/jianyus/p/3524335.html

vs2013有64位版本iisexpress,用这个就好了

enable assembly bind failure logging (Fusion) in .NET,布布扣,bubuko.com

enable assembly bind failure logging (Fusion) in .NET

上一篇:easyasp的使用


下一篇:js多个物体运动问题2