Changing AssemblyVersion causes TypeLoadException

S

Simon Says

Dear all,

I uses VB.net to create an application for WinCE 4.2. I've a "abc.dll"
assemblyVersion 1.0, and a "app.exe". Initially, I've compiled my
app.exe with abc.dll (version 1.0). Later, I've fixed some bugs in my
abc.dll and I changed the version to 2.0. I've then copied and pasted
my abc.dll into my WinCE 4.2's application folder; but when I run my
app.exe I got prompted with TypeLoadException error.

Can anyone please advice how I can fix this while still letting me to
use AssemblyVersion to maintain my versioning scheme?

Thanks.

--Simon Teng
 
D

Daniel Moth

With CF 1.0, you can only change the revision (last digit) of the version
number of the dll. If you change anything else then you need to rebuild the
exe against the dll.

Cheers
Daniel
 

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