RE: How do I specify the CF runtime Version in VS 2005

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



When you want to specify the runtime version for a .NetCF app you can use the
application config file to say exactly which version of the runtime you would
like to run against. However this is probably not what you want in this case.
This blog article has tons of information about this topic:
http://blogs.msdn.com/stevenpr/archive/2004/12/30/344540.aspx


If you would like your app to be supported by the v1 runtime you should
choose your project type to be Smart Device Application/Library/Console/etc
with the "(1.0)" tag after it in the New Project Wizard. (You may also be
able to change the project type in the project settings after you have
created it). Without the (1.0) tag you get the default 2.0 project that will
only run on a 2.0 runtime.

Your other option is to include the 2.0 netCF install in your app install so
that users will have it. I think msdn has some docs about what the best way
to do that is.
-Noah Falk

"JamesL" wrote:

> Ok,
>
> I have my visual studio working again. And I have determined that my
> problem deploying my program is this:
>
> On my machine, when I deploy the program to my handheld VS 2005
> automatically upgrades my device to CF 2.0.
>
> But when I deploy the .CAB file to a user. The user has version 1.0 or 1.1.
> Therefore the program does not work.
>
> I read the help for How to specify the runtime version but the help speaks
> to VS 2003, I have 2005. It is different.
>
> So how do I specify the runtime version for the program in VS 2005?
>
> James Lysaght
>
>
>
.



Relevant Pages

  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... otherwise...but has the addition of an extra API call, where you can specify an "event mask"...and then only those classes of events that you specify are delivered to the application... ... criticism of Windows here, in a sense: Just how stupid Microsoft were to ... filters all msgs on behalf of an app. ... posted to a Linux app when you move the mouse over it. ...
    (alt.lang.asm)
  • I need a encryption utility that will...
    ... I realize I could write this app myself, ... I want to be able to specify the password in advance, ... change the embedded password, which would then necessitate me resending the ...
    (comp.security.misc)
  • Re: Problem creating a shared library in Linux
    ... On Windows, you can specify an option along the ... app will give an error. ... app" (the interpreter), ...
    (comp.os.linux.misc)
  • Re: hook crashes
    ... The OP did not specify whether it was a system or app scope ... > hook, ... He specified that he is receiving messages from another app in his app, ... callback function needs to be in shared memory. ...
    (microsoft.public.vb.winapi)
  • Re: Other methods then Remoting
    ... Sockets might work. ... NetCf App and a desktop App. ...
    (microsoft.public.dotnet.framework.compactframework)