TypeLoadException using own DLL

kjh

Joined
Feb 1, 2008
Messages
1
Reaction score
0
I can not figure out how to get my windows ce application running and would appreciate some help.
The problem is, that I always get a TypeLoadException for my own class.
I have two C# projects. The first is a dll for mobile devices, which contains the classes that a test project (also for mobile devices) wants to use. The test project has a reference to the dll project with local copy flag set to true.
When I have all files (dll and exe of the test project) in one folder of my WinXp Laptop that hosts the VS2003 where I program, everything runs fine.
When copied to my mobile device it does not work anymore though. What can be the reason, that the test project exe can not load the class from the dll project assembly, even though being referenced and having the dll in the same directory as the exe?

Many thanks for any help!
Kai
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top