Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I change the target framework for a smart device project?

Posted on 2008-10-03
6
Medium Priority
?
3,011 Views
Last Modified: 2013-11-26
I have been given a project developed under Visual Studio 2005 for a smart device (i.e. Windows CE) which targets .net compact framework 2.0. I have imported the project into Visual Studio 2008 with no problem. However, I want to change the project to target .net compact framework 3.5. If I go to the project properties, applications tab, I see a combo box labled "target framework." However, it is grayed out. If I create a sample Windows application in Visual Studio (i.e. not a smart device) and go to that same properties screen, that combo box is enabled, allowing me to select a different .net framework. It appears that Smart Devices/.net compact framework projects do not allow changing the target framework.

Does anyone have any solution to this problem? I want to target 3.5 since we may be modifying this application to use new features available in 3.5.

Thanks
0
Comment
Question by:softechnics
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22637143
I can start saying that it is not forbidden to change the target framework for a CF project.
But, are you sure the target device supports this new CF version?
0
 

Author Comment

by:softechnics
ID: 22637293
My question is somewhat hypothetical as I am just starting this project and am wondering if it is possible to do if necessary. If so, I would like to know how to do it. Specifically, I am taking a project written using MyXaml targeting v2.0 of the compact framework. That's cool. However, I've been told that Microsoft may support XAML at some time in the future in the compact framework. (I'm new to XAML and just learning about.) As I was getting into this project, I started wondering if I  wouild be able to change the target framework in VS2008 and how I would do it IF I found it necessary to do so.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22637375
try with menu option:
Project -> Upgrade Project
0
PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

 

Author Comment

by:softechnics
ID: 22637587
Thanks ... that was the option I was looking for. However, it's interesting that it warns you that the upgrade cannot be undone. For a non-smart device project, you can use the method I described previously to freely go forward and backward in .net frameword versions. Why does a Smart Device / .net compact framework project only allow you to upgrade a project forward but not go back?
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 2000 total points
ID: 22637693
I don't know the "why" but I have just reviewed the MSDN documentation and confirmed that this is the unique option.
If you want just to test, copy all your solution folder to another and try with it.
0
 

Author Closing Comment

by:softechnics
ID: 31502872
Thanks for the help. I missed that info in the MSDN somehow.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question