Offline Smart Client Application Block and the mscorlib

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