Switching the Target Device in Visual Studio 2005 .NET Compact Framework Projects

Have you ever wanted to build and debug a .NET Compact Framework Pocket PC project on a SmartPhone (or the other way around) without creating a second project?  With Visual Studio 2005 Beta 2 you can do this with ease.

First, create your project (ex: a Visual C# Smart Device Pocket PC 2003 application).  Once you have written your code and tried it out on the Pocket PC device, go to the Solution Explorer and right click on your project's name. Select "Change Target Platform" from the popup menu and you can select your desired device platform (ex: SmartPhone 2003).

It is important to note that you can only change to a platform that supports the same version of the .NET Compact Framework that you are targetting for your application.  The "Change Target Platform" dialog will supply a list of supported platforms.

Enjoy!
-- DK

Disclaimer(s):
This posting is provided "AS IS" with no warranties, and confers no rights.
Some of the information contained within this post may be in relation to beta software. Any and all details are subject to change.