softechnics
asked on
How do I change the target framework for a smart device project?
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
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
ASKER
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.
try with menu option:
Project -> Upgrade Project
Project -> Upgrade Project
ASKER
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help. I missed that info in the MSDN somehow.
But, are you sure the target device supports this new CF version?