Offline Smart Client Application Block and the mscorlib

G

Guest

clientHi,

I have recently just downloaded the smart application block of offlline
devices and am not finding it quite so smart. (or i'm not quite so smart more
probably)

I am wanting to create an application to go onto Pocket PC 2003. I have
created a Smart Client application template using the VS tools, and am
deploying it into the Pocket PC 2003 emulator.

The blank template starts fine.

I then add a reference to the smart client app block and some code and I get
the following error:

Error: The dependency 'mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=969db8053d3322ac' in project 'RTCLib' cannot be copied to the
run directory because it would conflict with dependency 'mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Error: The dependency 'mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' in project 'RTCLib' cannot be copied to the
run directory because it would conflict with dependency 'mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=969db8053d3322ac'.


Now I understand that the compact framework uses a different ver of mscorlib
to my desktop version.

But I can't find anywhere in the Offline App Block where mscorlib is
referenced in the project files or anywhere.

Please help!

Many Thanks

Simon
 
P

Peter Foot [MVP]

you are trying to deploy a full framework library to .NETCF. What you need
to do is start from a smart device application. Then use the compact
framework version of the application block which is distributed with the
sdf - www.opennetcf.org/sdf/. This is a subset of the smart client
application block designed to work on devices.

Peter
 
G

Guest

doh! cheers dude..

Peter Foot said:
you are trying to deploy a full framework library to .NETCF. What you need
to do is start from a smart device application. Then use the compact
framework version of the application block which is distributed with the
sdf - www.opennetcf.org/sdf/. This is a subset of the smart client
application block designed to work on devices.

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org
 

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

Similar Threads

mscorlib Error 1
What does this build error mean? 7
mscorlib problem 4
Class problem 4
Error using OpenNetCF 5
Build Errors on MSCorlib. 1
OpenNETCF and ICSharpCode.SharpZipLib 1
C# DLL in VB.Net 1

Top