Multi-Targeting: Visual Studio 2008 Learning Guide

This section of the Visual Studio 2008 Learning Guide looks at multi-targeting, a feature that lets developers and architects use VS 2008 to build apps for .NET 2.0 and .NET 3.0.

   TABLE OF CONTENTS   

 

   Visual Studio 2008 Quick Start
   Visual Studio 2008 Tips and Tutorials
   Visual Studio 2008 and LINQ
   Visual Studio 2008 and Visual Basic 2008
   Visual Studio 2008 and C# 3.0
   Visual Studio 2008 and Multi-targeting
   Visual Studio 2008 and Data Access
   Visual Studio 2008 and .NET Architecture
   Visual Studio 2008 and Smart Client Development
   Visual Studio 2008 and Web Development
   Visual Studio 2008 and JavaScript IntelliSense
   Visual Studio 2008 Testing and Debugging
   Visual Studio 2008 Products and Plug-ins
    VISIT OUR OTHER LEARNING GUIDES

 

Visual Studio 2008 and Multi-targeting

The .NET Framework 3.5 ships with Visual Studio 2008, but, thanks to a new feature called multi-targeting, developers can use VS 2008 to build apps for the .NET Framework 2.0 and the .NET Framework 3.0. This allows them to make the upgrade to VS 2008 without leaving behind applications that are not based on .NET 3.5.

This brief section of the Visual Studio 2008 Learning Guide looks at multi-targeting, how it works and what benefits it brings to the proverbially clichéd table. The section that follows focuses on data access improvements in the new IDE.

How Visual Studio 2008 multi-targeting works (Scott Guthrie)
One selling point of Visual Studio 2008 is that developers can use it to build applications for .NET 2.0 and .NET 3.0 (as well as .NET 3.5, the version that's shipping with the new IDE). In this blog post, Scott Guthrie explains Microsoft's rationale in doing this and shows developers how it's done.

Multi-targeting in Visual Studio 2008 (MSDN Channel 9 Forums)
In this video, Daniel Moth walks programmers through the multi-targeting features that Visual Studio 2008 offers.

.NET Framework 3.0 support in Visual Studio 2008 (Daniel Moth)
Here the blogger uses screen shots to demonstrate how programmers can choose which version of the .NET Framework to target -- even after they have started working on a project.

FxCop rule for multi-targeting (Krzysztof Cwalina)
Here a program manager on the .NET Framework group shows that FxCop, Microsoft's free static code analysis tool, is smart enough to detect when multi-targeting errors pop up and a .NET 2.0 application tries to call an API from .NET 3.x.

Using C# 3.0 from .NET Framework 2.0 and Using Extension Methods in .NET Framework 2.0 projects (Daniel Moth)
These articles provides an explanation as to what new LINQ features and implementations in Visual Studio 2008 will, and will not, work when programming in .NET 2.0.

 


*** Go on to the next section of the Visual Studio 2008 Learning Guide: Visual Studio 2008 and Data Access

This was first published in November 2007

Dig deeper on .NET Framework 3.5 and Visual Studio 2008 development

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close