Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

embedded dll can't be detected when installing control in visual studio 2008

$
0
0

In order to embed third party dll into my user control, I have added the dll to the project and set it to embedded resource and then added it to the references.

In order to load it I have used :

AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);

It works fine when adding user control to Visual studio 2012  toolbox, but when I try to do the same in VS2008 or VS2005 I get error:

"there was error loading types from assembly <OurUserControl>.dll, could not load file or assembly <third party dll name> .dll version:....

Any advice would be highly appreciated

Thanks


Viewing all articles
Browse latest Browse all 31927

Trending Articles



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