PC Review


Reply
Thread Tools Rate Thread

CF SP3 and Visual studio 2003

 
 
=?Utf-8?B?TWFzc2ltbyBWaWdoZXR0aQ==?=
Guest
Posts: n/a
 
      10th Jun 2005
I installed CF SP3 on my PPC device.
Applications developed with .NET CS2003 no longer run (at launch it shows
message unable to load type from system.windows.form.control assembly
system.windows.form

If I unistall SP3 from device all works fine.
It seems executable generated by VS2003 aren't compatible with CF SP3.

Because new PDAs have SP3 preinsalled (i.e. HP2750) how can I instruct :NET
Visual Studio 2003 to use newer assembly?

 
Reply With Quote
 
 
 
 
Rob Blij
Guest
Posts: n/a
 
      10th Jun 2005
I had the same issue check to see that you havent added any standard windows
class libraries to your solution.

For some reason they make it tricky in so far that u need to add a new smart
device project THEN select class library to add an assembly.

Hope this helps I was stuck on the same typeloadexception story for ages.
(To check create a windows app and use the GetReferencedAssemblies method on
the assembly class i think it is and make sure you have no PublicTokenKey =
B7... etcetc that means it the full fx mscorlib you are referencing)

Rob

"Massimo Vighetti" <Massimo (E-Mail Removed)> wrote in
message news:1C6C6740-C205-406F-93CC-(E-Mail Removed)...
>I installed CF SP3 on my PPC device.
> Applications developed with .NET CS2003 no longer run (at launch it shows
> message unable to load type from system.windows.form.control assembly
> system.windows.form
>
> If I unistall SP3 from device all works fine.
> It seems executable generated by VS2003 aren't compatible with CF SP3.
>
> Because new PDAs have SP3 preinsalled (i.e. HP2750) how can I instruct
> :NET
> Visual Studio 2003 to use newer assembly?
>



 
Reply With Quote
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      10th Jun 2005
Are you getting TypeLoadException about something with
PublicKeyToken=b77a5c561934e089 been missing?

If so, that means your application and/or one of the libraries it uses is
compiled against desktop assemblies.

Applications and/or libraries compiled against desktop are invalid NETCF
applications and they won't run under SP2 or SP3 (they _might_ run on RTM or
SP1 under certain conditions).



The typical reason for that is choosing desktop library project and
deploying it to the device.

Instead you should choose Smart Devices projects and then choose class
library.



As to updating VS 2003 with SP3 bits, that's not supported (till VS updated
is out).

SP3 is device only installation. All correctly compiled in VS 2003
applications should run on SP3.


Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"Massimo Vighetti" <Massimo (E-Mail Removed)> wrote in
message news:1C6C6740-C205-406F-93CC-(E-Mail Removed)...
>I installed CF SP3 on my PPC device.
> Applications developed with .NET CS2003 no longer run (at launch it shows
> message unable to load type from system.windows.form.control assembly
> system.windows.form
>
> If I unistall SP3 from device all works fine.
> It seems executable generated by VS2003 aren't compatible with CF SP3.
>
> Because new PDAs have SP3 preinsalled (i.e. HP2750) how can I instruct
> :NET
> Visual Studio 2003 to use newer assembly?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft Dot NET 4 17th May 2007 08:56 PM
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft Dot NET Framework 1 14th May 2007 09:05 PM
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft C# .NET 0 14th May 2007 08:45 PM
Installing Visual Studio 6 AFTER Visual Studio 2003 trial and Office 2003 - Is it safe? Dave Smithz Microsoft Dot NET 1 30th Jun 2004 09:59 PM
VISUAL STUDIO .NET ENT ARCHITECT EDITION [5 CDs], VISUAL STUDIO NETPROFESSIONAL 2003 DVD, Addons, Tutorials te Microsoft VC .NET 0 2nd Apr 2004 02:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:49 PM.