Changing AssemblyVersion causes TypeLoadException

  • Thread starter Thread starter Simon Says
  • Start date Start date
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
 
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
 
Back
Top