Version Woes

B

bob

Hi,
VS2008 target 3.5
Third party DLL that works OK when deployed in Windows app.
When deployed in Smart Device app I get:

System.MissingMethodException was unhandled
Message="The version of the assembly System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089 cannot be loaded by
this version of the Microsoft .NET Compact Framework."
StackTrace:
at CoronisPocketPC.Form1..ctor()
at CoronisPocketPC.Program.Main()

Any clues on how to fix this would be appreciated.
thanks
Bob
 
S

Simon Hart [MVP]

Looks like that DLL is referencing the desktop System.dll which cannot be
used on devices.
 
C

Chris Tacke, eMVP

Sure, that's expected. Smart Device apps cannot consume desktop assemblies.
You need to get a CF assembly from the third party (if they have one).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
B

bob

Hi Simon and Chris,
Thanks for your quick responses.
I'll pursue getting a CF Version.
regards
Bob
 

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