RE: How do I specify the CF runtime Version in VS 2005
- From: "NoahFalk" <NoahFalk@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 18:15:03 -0700
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
>
>
>
.
- References:
- How do I specify the CF runtime Version in VS 2005
- From: JamesL
- How do I specify the CF runtime Version in VS 2005
- Prev by Date: Re: DebugAsHighRes
- Next by Date: Re: vb.net + TabControl + Toolbar + FullScreen
- Previous by thread: Re: How do I specify the CF runtime Version in VS 2005
- Next by thread: Insert data into table from text file using sqlceresultset
- Index(es):
Relevant Pages
|