G
Guest
Ok, I have a strange problem. I have a DLL that defines a couple of
interfaces. They just have a few properties and a couple of functions in
them. Now, I create a new Windows Forms project and add a reference to that
DLL. Now, before I do anything, I run the project. A blank form pops up.
That's good. Now, I add the Implements line for one of the interfaces, which
automatically creates the property and function shells for me. But when I
try to run it again, I get the following error :
--------------
An unhandled exception of type 'System.TypeLoadException' occurred in
Unknown Module.
Additional information: Could not load type WindowsApplication3.Form1 from
assembly WindowsApplication3, Version=1.0.1994.17092, Culture=neutral,
PublicKeyToken=null.
interfaces. They just have a few properties and a couple of functions in
them. Now, I create a new Windows Forms project and add a reference to that
DLL. Now, before I do anything, I run the project. A blank form pops up.
That's good. Now, I add the Implements line for one of the interfaces, which
automatically creates the property and function shells for me. But when I
try to run it again, I get the following error :
--------------
An unhandled exception of type 'System.TypeLoadException' occurred in
Unknown Module.
Additional information: Could not load type WindowsApplication3.Form1 from
assembly WindowsApplication3, Version=1.0.1994.17092, Culture=neutral,
PublicKeyToken=null.