Multitargeting

Like in Visual Studio 2008, in Visual Studio 2010 you can choose what version of the .NET Framework your application targets. This can be useful if you plan to develop applications with a high compatibility level and without new language features, but you still want to take the advantage of the new features of the IDE. You may choose one of the following:

• .NET Framework 4.0 (proposed by default)

• .NET Framework 3.5

• .NET Framework 3.0

• .NET Framework 2.0

To accomplish this choice, just select the appropriate version from the combo box at the top of the window, as shown in Figure 2.6.

Figure 2.6 Choosing the .NET Framework version for your application.

Note

Please remember that, depending on what version of the .NET Framework ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.