[RESOLVED] Error - TypeLoadException was unhandled
I'm getting a "TypeLoadException was unhandled" error. The description says
Could not load type 'dnUtilities.OtherFunctions' from assembly 'dnUtilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
So i've got a class library project. I've built that into a dll and am referencing it in a project in another solution. The name is "dnUtilities" and i've stored a lot of subs and functions inside it. I just got this error when i added a new module and tried calling a sub from it. I've got no idea why this error is happening since all the other functions from the other modules work. Besides modules i've also got a usercontrol in the dll. The framework of the dll and my calling project are both 3.5.
Update: Actually none of the functions are working any more.
Re: Error - TypeLoadException was unhandled
Are you sure the build is succeeding?
Re: Error - TypeLoadException was unhandled
Yes, the build is definitely succeeding. Actually I just discovered that it works in new projects (unfortunately I'm kind of tied to my current problem project). In my problem project I can see the function in intellisense and visual basic will accept it. I just have the error stated above when i run it.
Re: Error - TypeLoadException was unhandled
It seems be working again. I'm not sure whether it was chance or not but it seemed to work after i built the dll to another folder and referenced that.