JunglesMcBeef
Programmer
- Sep 18, 2003
- 266
Hi,
I have built a dll file, and created a reference to it in a new project. Now when I go to run my new project, whenever it references the class from the DLL file I get an InvalidCastException. This doesn't happen if I add the class as an existing item to my new project, only when I reference to the dll file I built which contains it. Why is this happening?
I have built a dll file, and created a reference to it in a new project. Now when I go to run my new project, whenever it references the class from the DLL file I get an InvalidCastException. This doesn't happen if I add the class as an existing item to my new project, only when I reference to the dll file I built which contains it. Why is this happening?