enable assembly bind failure logging (Fusion) in .NET
2014-07-18 20:19
316 查看
今天遇到新建wcf项目编译成64位版本在64位windows上无法运气的,问题
先百度了一下如何查看程序集加载日志:
Add the following values to
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,用这个就好了
先百度了一下如何查看程序集加载日志:
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,用这个就好了
相关文章推荐
- To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]
- java.net.BindException: Address already in use: JVM_Bind
- Useful Logging Options in .Net
- Java.net.BindException :Address already in use
- java.net.bindexception: address already in use: jvm_bind:8080
- WinForm Vs WPF, COM/COM+ Vs .Net Assembly, COM/COM+ in ASP.Net, ... ...
- How to debug a Private Module Assembly in DotNetNuke?
- java.net.BindException: Address already in use: JVM_Bind :8080 解决方法
- 修改 Tomcat 端口 号 java.net.BindException: Address already in use: JVM_Bind:8080
- java.net.BindException: Address already in use: JVM_Bind:8080
- java.net.BindException: Address already in use: JVM_Bind的异常
- Enable ASP.NET in IIS
- How to Determine if a file is a .Net assembly (in Delphi and C#)
- tomcat启动错误:java.net.BindException: Address already in use: JVM_Bind:8080
- java.net.BindException: Address already in use: JVM_Bind:80
- Reading Assembly attributes in VB.NET
- java.net.BindException: Address already in use: JVM_Bind
- Assembly attributes in .net
- java.net.bindexception: address already in use: jvm_bind:8080
- java.net.BindException: Address already in use: JVM_Bind的异常