|TABLE OF CONTENTS|
|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.
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.
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.
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