all groups > dotnet compact framework > september 2005 >
You're in the

dotnet compact framework

group:

Builiding NetCF app with Vs.Net 2005 beta


Re: Builiding NetCF app with Vs.Net 2005 beta Peter Foot [MVP]
9/14/2005 12:00:00 AM
dotnet compact framework:
When you created the project in VS2005 was it a .NETCF v1.0 or v2.0 project?
Which versions of the runtimes appear as installed on your device (see
Remove Programs list)?

Peter

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

[quoted text, click to view]

Builiding NetCF app with Vs.Net 2005 beta FrankVDL NO[at]SPAM gmail.com
9/14/2005 7:56:11 AM
Hello,

I'm trying to (re)build my netcf application using VS.net 2005
After copying the files to the device, the following error occurs

TypeLoadException
Could not load type
System.Windows.Forms.Form
from assembly System.Windows.Forms, version=1.0.5000.0,
culture=neutral, PublicKeyToken=....

I've tested in on serveral devices, they all have the same problem

If I build the same app using VS.Net 2003 and put in on the same
system, every things works fine.

Who can explain this ?

Kind Regards
Frank Vanderlinden
Re: Builiding NetCF app with Vs.Net 2005 beta FrankVDL NO[at]SPAM gmail.com
9/15/2005 12:10:10 AM
The project is a NetCF 1.0 project (i guess)

-> I've selected a PocketPC 2003 device as target
-> If I check the directories of the system.dll it uses
- C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\v1.0\WindowsCE\System.dll
- RunTime version : v1.1.4322
- Version : 1.0.5000.0

The "Remove Programs" only shows "Microsoft .Net Compact Framework"
But I'm sure it the NetCF 1.0 runtime
AddThis Social Bookmark Button