Question Custom Control > Could not load file or assembly or one of its dependencies

Invisionsoft

Well-known member
Joined
Apr 20, 2007
Messages
64
Location
United Kingdom
Programming Experience
1-3
I know this has been asked alot, but it's really annoying me! I have a .net 2.0 custom control DLL which I put in bin/Debug then added it to my toolbox. I then added it to my form and changed all it's properties - all fine. But then when I hit build, I get this:

System.IO.FileNotFoundException was unhandled
Could not load file or assembly 'CodeVendor.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I did a Google, someone said you had to put it in the folder where VB was looking for it - I put it in the solution directory, bin/Released, some other places (the DLL), and still no luck. BTW, I am using Visual Basic 2008 to load this DLL. I got the control from the Code Project -> http://www.codeproject.com/KB/miscctrl/grouper.aspx


Thanks alot everyone, this community is so great ;)
 
Last edited:
Back
Top