您的位置:首页 > 大数据 > 人工智能

enable assembly bind failure logging (Fusion) in .NET

2014-07-18 20:19 316 查看
今天遇到新建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,用这个就好了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: