Click here to Skip to main content
12,549,996 members (51,165 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


4 bookmarked

WRN: Asssembly binding logging is turned OFF

, 5 Jan 2011 CPOL
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=, Culture=neutral, PublicKeyToken=9b172c8695ba0f39' or one of its dependencies. The system cannot find the file specified.
File name: 'WinsssCtrls, Version=, 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! :)


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


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

You may also be interested in...


Comments and Discussions

PraiseAssembly binding error Pin
Member 1257711316-Jun-16 7:47
memberMember 1257711316-Jun-16 7:47 
Questiondetail explanation please.... Pin
Member 995471814-Apr-13 19:24
memberMember 995471814-Apr-13 19:24 
GeneralReason for my vote of 5 very handy Pin
Abdul_Hafeez6-Jan-11 0:29
memberAbdul_Hafeez6-Jan-11 0:29 
GeneralReason for my vote of 5 It saved my time and resolved my iss... Pin
FSUMSoft3-Jan-11 4:16
memberFSUMSoft3-Jan-11 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 | Terms of Use | Mobile
Web02 | 2.8.161021.1 | Last Updated 5 Jan 2011
Article Copyright 2010 by Umair Feroze
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid