Enable assembly bind failure logging (Fusion) in. NET, assemblyfusion

Source: Internet
Author: User

Enable assembly bind failure logging (Fusion) in. NET, assemblyfusion

Today, we have encountered a problem that we cannot be lucky to create a new wcf project to compile it into a 64-bit version on 64-bit windows.

Baidu first shows how to view the Assembly Loading log:

 

Add the following values

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

Make sure youInclude the backslashAfter the folder name and thatFolder exists.

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

 

Finally, I found that iisexpress called the clr under Framework \ v4.0.30319 \ clr. dll. I wiped the 32-bit clr.

 

Then Baidu finds that the iisexpress in vs2012 is 32-bit.

Solution address: http://www.cnblogs.com/jianyus/p/3524335.html

Vs2013 has a 64-bit version of iisexpress. Use this.


Net: WRN: Assembly binding logging is turned OFF

This error message only indicates that your error log is disabled and the real error is not displayed.
However, there are solutions to similar problems. You can check whether they are applicable:
Www.cnblogs.com/...1.html
 
Teach registry changes,

Enter regedit in start -- run, expand HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Fusion, and find the key named EnableLog in the right sidebar. If not, create a DWORD, key named EnableLog, set its key value to: 1

If the Assembly binding logging function is disabled, change the key value to: 0.

After modification, log out, log on again, or restart, and the modification takes effect.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.