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

RE: Version Woes by srhartone

srhartone
Fri Mar 14 13:02:00 CDT 2008

Looks like that DLL is referencing the desktop System.dll which cannot be
used on devices.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"bob" wrote:

> 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
>

Re: Version Woes by Chris

Chris
Fri Mar 14 13:05:51 CDT 2008

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

"bob" <startatbob_clegg@cutthis.adriley.co.nz> wrote in message
news:4vdlt3hrfj5ggd1lu267nrqm1favb2s2c1@4ax.com...
> 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



Re: Version Woes by bob

bob
Fri Mar 14 15:55:46 CDT 2008

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