Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Cannot place Custom Control which refer CLI component

$
0
0

Hi,

We have a custom control which refer a CLI component named TestCLI. If we place the custom control on a form, we are getting the following  error message. We are using Visual Studio 2010. The  binaries HostStatusControl and TestCLI are present in the same folder. How can we correct the issue?

---------------------------

Microsoft Visual Studio

---------------------------

Failed to create component 'HostStatusControl'.  The error message follows:

'System.IO.FileNotFoundException: Could not load file or assembly 'TestCLI, Version=1.0.4721.28992, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

File name: 'TestCLI, Version=1.0.4721.28992, Culture=neutral, PublicKeyToken=null'

   at NeST.ICE.UI.TitlePanel.HostStatusControl..ctor()

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].



hh


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>