views:

6273

answers:

6

With the recent announcement of .NET 4.0 and Visual Studio 2010, it is becoming ever more difficult to keep track of what .NET Framework versions build on what version of the CLR and belong with which version(s) of Visual Studio.

Is there a definative table that shows these relationships?

+5  A: 

It's hard to find, isn't it? I believe these are the versions (ignoring service packs)

Visual Studio ver 6 = last one before .Net, released in '98

Visual Studio 2002 = ver 7.1, Rainier, 1st .Net ver. retroactively added 2002 to the name, .Net 1.0 -- released Feb02

Visual Studio 2003 = ver 7, Everett, .Net 1.1 -- released early 2003.

Visual Studio 2005 = ver 8 Whidbey, .Net 2.0 & 3.0 -- launch was Nov 2005. No longer called Visual Studio .Net

Visual Studio 2008 = ver 9 Orcas, .Net 3.5 -- released 11/19/2007 as 9.0.21022.8

Visual Studio 2010 = ver 10 Hawaii

next ver. of Visual Studio Team System = Rosario

This will give you more information about build numbers and service packs, but only through .Net 2.0.

DOK
Not 100% what I was looking for as you don't indicate the CLR versions, only the .NET Framework versions but still a great list, especially since you include the release dates and actual Visual Studio version numbers.
Scott Dorman
CLR versions are in the linked document. They vary by service pack. Still, it's unnecessarily difficult to find all this information from a quick web search, isn't it?
DOK
Yes, it's very difficult to find all of this information in one place...hence the reason for the post.
Scott Dorman
+19  A: 
Visual Studio                                 CLR           .NET Framework
----------------------------------------------------------------------------------------
Visual Studio .NET (Ranier)                   1.0.3705      1.0
Visual Studio 2003 (Everett)                  1.1.4322      1.1
Visual Studio 2005 (Whidbey)                  2.0.50727     2.0
Visual Studio 2005 with .NET 3.0 Extensions   2.0.50727     2.0, 3.0
Visual Studio 2008 (Orcas)                    2.0.50727     2.0 SP1, 3.0 SP1, 3.5
Visual Studio 2008 SP1                        2.0.50727     2.0 SP2, 3.0 SP2, 3.5 SP1
Visual Studio 2010 (Hawaii)                   4.0.30319     4.0

Expanding on this a bit, and including some of the information from dok1's answer, the actual version numbers for the different shipped builds of the .NET Framework are available on Aaron Stebner's blog, which covers everything from 1.0 through 3.5 SP1.

The actual Visual Studio version numbers are:

Product Name                                 Version              Ship Date
----------------------------------------------------------------------------------------
Visual Studio .NET                            7.0.??               02/2002
Visual Studio .NET 2002 Service Pack 1        7.0.??
Visual Studio 2003                            7.1.??               04/2003
Visual Studio 2003 Service Pack 1             7.1.6030             09/13/2006
Visual Studio 2005                            8.0.5072.42
Visual Studio 2005 Service Pack 1                                  12/14/2006
Visual Studio 2008                            9.0.21022.8          11/19/2007 
Visual Studio 2008 SP1                        9.0.30729.1
Visual Studio 2010                            10.0.30319.1         04/12/2010

Please help fill in the missing pieces. This is all I could easily find online.

Thanks to @DannySmurf for the information on the full version numbers for the CLR.

Scott Dorman
Framework 4.0 will run on CLR 4.0 (no CLR 3.x), side-by-side with CLRs 1.1 and 2.0
Lucas
A: 

Addendum to the previous posts:

Not hard to figure out which CLR version (as opposed to .NET version) goes where:

1.0/VS2002 uses 1.0.3705
1.1/VS2003 uses 1.1.4322
2.0/VS2005 uses 2.0.50727
3.0/VS2005 uses 2.0.50727
3.5/VS2008 uses 2.0.50727

DannySmurf
+1  A: 

It should be noted that VS2008 added the ability to target specific frameworks that build upon the .NET 2.0 runtime (i.e. 2.0, 3.0 and 3.5). Previously it would target the highest version framework supported.

ICR
Yes, but 2008 actually targets 2.0 SP1 and 3.0 SP1 not the RTM versions. Unfortunately it doesn't give any indication of that.
Scott Dorman
@Scott: true, and to make it worse, VS2008 SP1 targets 2.0 SP2 and 3.0 SP2, not the RTM or SP1 versions.
Lucas
+14  A: 

Note that while 3.0 bascially only added new assemblies (same CLR), 3.5 added new assemblies, new compiler, and updated the CLR to SP1 level.

Framework 4.0 will be a whole new CLR (4.0, no CLR 3.x) which will run side-by-side with CLRs 1.1 and 2.0. It will also have all-new assemblies versioned 4.0 instead of using the 2.0 assemblies.

Framework  CLR and Assemblies            Release
----------------------------------------------------------
1.0 RTM    1.0.3705.0                    Visual Studio .NET (aka VS.NET 2002)
1.0 SP1    1.0.3705.209
1.0 SP2    1.0.3705.288
1.0 SP3    1.0.3705.6018

1.1 RTM    1.1.4322.573                  VS.NET 2003
1.1 SP1    1.1.4322.2032
1.1 SP1    1.1.4322.2300                 Windows Server 2003

2.0 RTM    2.0.50727.42                  VS2005 RTM
2.0 RTM    2.0.50727.312                 Windows Vista
2.0 SP1    2.0.50727.1433                VS2008 RTM and .Net 3.5 RTM
2.0 SP2    2.0.50727.3053                VS2008 SP1 and .Net 3.5 SP1
2.0 SP2    2.0.50727.4016                Windows Vista SP2 and Windows Server 2008 SP2
2.0 SP2    2.0.50727.4927                Windows 7

Framework  CLR           New assemblies
----------------------------------------------------------
3.0 RTM    2.0 RTM       3.0.4506.30     The only "out-of-band" non-SP framework release
3.0 SP1    2.0 SP1       3.0.4506.648    VS2008 RTM and .Net 3.5 RTM
3.0 SP2    2.0 SP2       3.0.4506.2123   VS2008 SP1 and .Net 3.5 SP1

3.5 RTM    2.0 SP1       3.5.21022.8     VS2008 RTM and .Net 3.5 RTM
3.5 SP1    2.0 SP2       3.5.30729.01    VS2008 SP1 and .Net 3.5 SP1
3.5 SP1    2.0 SP2       3.5.30729.4926  Windows 7

Framework  CLR and Assemblies            Release
----------------------------------------------------------
4.0 RTM    4.0.30319.1                   VS2010

(Collected from various answers and linked documents, especially this MSDN article linked by DOK) A full list with KB update versions and support retirement dates can be found in Wikipedia.

Lucas
2.0.50727.3615 ?
Ruben Bartelink
i.e., can you verify that this maps to 3.5 SP1 and then keep the list complete and accurate in perpetuity please?
Ruben Bartelink
@Ruben: 2.0.50727.3615 seems to be a security update ( http://support.microsoft.com/kb/983583 ). I'm guessing any version higher than the "released" versions is a non-SP update.
Lucas
I've added a few OS-specific versions (Vista, Win7) and the full 4.0 version number
Lucas
A: 
Scott P