首页 > Web开发 > 详细

enable assembly bind failure logging (Fusion) in .NET

时间:2014-07-19 09:36:20      阅读:290      评论:0      收藏:0      [点我收藏+]

今天遇到新建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

原文:http://www.cnblogs.com/12taotie21/p/3854225.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!