views:

3946

answers:

7

Before upgrading to VisualStudio 2010, I want to make sure I can still target version 2.0 of the framework. I couldn't find a statement about this from MS. Does anyone know?

+2  A: 

Some one else asked this just an hour ago CodeProject. The answer is yes. IT supports 2.0 -> 4.0.

leppie
+5  A: 

Yes this is possible. It is known as Multi-targeting and is a feature most definitely supported in VS2010.

JaredPar
+2  A: 

Yes

Googling this brought up a geekswithblogs post showing the multi-targeting functionality. Apparently StackOverflow won't let me post the link. But the answer is Yes

Kamiikoneko
+7  A: 

According to this page, you can, just make sure you have .NET 3.5 SP1 installed.

Matthew Jones
You mean .NET < 4.0 will not be installed ? Weird.
leppie
I figure this is just for the beta, but who knows?
Matthew Jones
A: 

This feature was included in Visual Studio 2008 as a way to handle 2.0 through 3.5 projects, so it would be an epic failure on Microsoft's part not to include the same functionality in their next release. With 2010 you should be able to support projects in the 2.0 to 4.0 framework ranges (and beyond possibly depending on the framework upgrades).

TheTXI
While I agree with you, Visual Studio 2008 used the same 3.5 Build Engine for all systems, even when targetting 2.0. .NET 4.0 is a new CLR and therefore likely a new Build engine, so it's actually a new feature, because you can now switch between build engines :)
OregonGhost
+1  A: 

Yes you can, check this post.

Gerrie Schenck
A: 

Yes. According to Jason Zander's Weblog and for more information take a look at Scott Hanselman's Whirlwind Tour around .Net 4 (and Visual Studio 2010)Beta 1

João Guilherme