Reputation: 10297
I created an .exe using the OpenNETCF's SerialPort class, but when I copied the .exe to the Motorola device running Windows CE 6 and tried to run it, I got:
TypeLoad
Exception
File or assembly name 'OpenNETCF, Version=1.3.50123.0...or one of its dependencies was not found.
What file or files do I need to copy over to remedy this? Is there a way to cause Visual Studio (2003, .NET 1.1) to bundle the required bits into the .exe?
I noticed in Build | Configuration Manager that the only context I have set up is "Debug"; would changing this from Debug to Release make any difference?
Upvotes: 0
Views: 671
Reputation: 4490
I don't know about Visual Studio 2003, but in 2008 you can create a Smart Device Deployment CAB, which essentially creates an installer for you, which would have a copy of all the references you need for your program to work.
Upvotes: 1
Reputation: 10297
This may have been overkill, but I copied all the OpenNETCF dlls over, and the problem was solved.
Upvotes: 0