Click here to Skip to main content
Click here to Skip to main content

Tagged as

WRN: Asssembly binding logging is turned OFF

, 5 Jan 2011
Rate this:
Please Sign up or sign in to vote.
The resolution of warning which does not let you add your custom control
---------------------------
Microsoft Visual Studio
---------------------------
Failed to create component 'CustomControl'.  The error message follows:
 'System.IO.FileNotFoundException: Could not load file or assembly 'WinsssCtrls, Version=1.0.1.0, Culture=neutral, PublicKeyToken=9b172c8695ba0f39' or one of its dependencies. The system cannot find the file specified.
File name: 'WinsssCtrls, Version=1.0.1.0, Culture=neutral, PublicKeyToken=9b172c8695ba0f39'
   at WnCols.rlLogIn.InitializeComponent()
   at WnCols.rlLogIn..ctor() in D:\Folder\Mine\VSWork\Source\WCtrls\WiCols\trlLogIn.cs:line 20
 
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]
Today I came to get this warning and to my utmost dismay, I could not add my custom controls to another project. After digging it out, I could not get enough information. Therefore, I thought of sharing it with all.
 
The project hierarchy is like: I have a library which contains wrapper windows controls, another library utilizes these wrapper controls and this library contains custom user controls. Then I have the main project which utilizes these custom user controls. While adding the custom user control, I got the above warning and could not load the custom user controls.
 
To resolve the issue, I recompiled my library containing wrapper windows controls and added its reference to my custom user controls. I recompiled my custom user control library and added its reference to my main project. After that, all went fine.
 
Hope this may save some of your time.
 
Happy coding! Smile | :)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Umair Feroze
Software Developer (Senior) Shams Software Services
Pakistan Pakistan
I have been working as a Senior Software Analyst in Shams Software Services and during this I have been working in Sql Server and C# .Net

Comments and Discussions

 
Questiondetail explanation please.... PinmemberMember 995471814-Apr-13 19:24 
GeneralReason for my vote of 5 very handy PinmemberAbdul_Hafeez6-Jan-11 0:29 
GeneralReason for my vote of 5 It saved my time and resolved my iss... PinmemberFSUMSoft3-Jan-11 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140902.1 | Last Updated 5 Jan 2011
Article Copyright 2010 by Umair Feroze
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid