Devlico.Us
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @devlicious

Derik Whittaker

Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool



Upgrading a Smart Device Project to Compact Framework 3.5

***** Disclaimer: I am a total NOOBIE to working on Smart Device Projects *****

Today I needed to upgrade on of our smart device projects from Compact Framework 2.0 to 3.5.  I figured that I could do this via the properties dialog, but could not (see image below).  But as you can see, the Target Framework option is no enabled.

 

Being the guy I am (having now regard to totally screwing something up) I decided to take a look at the project file (.csproj) to see what I could learn from that.  Withen about 10 seconds of looking at the file I came across the following node.
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>

I decided to change this to:
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

When I went back into my solution it asked to refresh based on the fact the files where changes.  After the refresh all was good.

I know there HAS to be a better/cleaner/eaiser/safer way to do this, but I could not find it.  So, if there is please let me know.

Hope this helps someone in the future,

Till next time,

[----- Remember to check out DimeCasts.Net -----]


Published Sep 10 2008, 08:49 AM by Derik Whittaker
Filed under: ,

Comments

Derik Whittaker said:

@pmlarocque,

I do not have that option.  About the only one that is even close is 'change target platform' but that is not correct either.

I am VS 2008, that may help?

# September 10, 2008 10:33 AM

pmlarocque said:

well if you already on 3.5 the option disappear (not just grayed out). I am in Visual Studio 2008 to.

# September 10, 2008 10:47 AM

pmlarocque said:

if it's still not there, maybe it's a new option of SP1. Never had to do it myself, just checked for fun because I don't have much work to do right now ;)

# September 10, 2008 11:01 AM

Nermin said:

You realy need to download Paint.Net, and stop using Windows Paint for your screen shots.  I am sorry but that hiding of Assembly name, namespace, and whatnot just looks like my 3 year old did it and so not "computer savvy"  

# September 10, 2008 3:24 PM

Dew Drop - September 11, 2008 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - September 11, 2008 | Alvin Ashcraft's Morning Dew

# September 11, 2008 9:07 AM

Daniel Hughes said:

The reason that it is not their is because you manual changed the project file. The Upgrade option only appears if the project is not version 3.5. You have made the project file think it is 3.5 so the upgrade option has disappeared.

# December 4, 2008 4:29 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Derik Whittaker

Derik is a .Net Developer/Architect specializing in WinForms working out the northern suburbs of Chicago. He is also believer and advocate for Agile development including SCRUM, TDD, CI, etc.

When Derik is not writing code he can be found spending time with his wife and young son, climbing on his bouldering wall, watching sports (mostly baseball), and generally vegging out. Check out Devlicio.us!

Our Sponsors

Proudly Partnered With


This Blog

Syndication

News