MS Virtual Labs: Multi-Targeting in Visual Studio 2008

Download this episode

Download Video


Multi-targeting is a new feature in Visual Studio 2008 that allows developers to choose which .NET Framework they want to target for a given project. Available choices are 2.0, 3.0 and 3.5, and you may change your selection after a project has already been created. The IDE filters selectable features and the build system generates appropriate warnings based on whether a particular feature is available in the target platform.

The purpose of this demo/lab is to show how multi-targeting is implemented in Visual Studio 2008. The lab covers the following topics:

• Multi-targeting in the New Project dialog
• Target Framework-based filtering in Add New Item and Add Reference dialogs
• Target switching via project Properties dialog • Build- and compiler-generated errors and warnings based on Target Framework

Try it



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.