Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
I got a comment from a customer in response to a previous blog post asking about file versions for the various versions and service packs of the .NET Framework. I was planning on just navigating to an MSDN site and replying with a link, but I couldn't find anything like that in any MSDN article or any KB article, so I figured I could come up with a quick table listing them. Keep in mind that not every file is updated by every service pack, so you may not see this exact version for all of the files that are part of the .NET Framework. Also, because of some of the magic that the Visual Studio and .NET Framework build lab uses to build some of the files that are part of the .NET Framework, you may see a .NET Framework-like version number (one that starts with 1.0, 1.1, or 2.0) or a Visual Studio-like version number (one that starts with 7.0, 7.10, or 8.0).
.NET Framework product version
Service pack level
.NET Framework 1.0
1.0.3705.0 and 7.0.9466.0
Service pack 1
Service pack 2
1.0.3705.288 and 7.0.9502.0
Service pack 3
1.0.3705.6018 and 7.0.9951.0
.NET Framework 1.1
1.1.4322.573 and 7.10.3052.4
1.1.4322.2032 (if you have the MSI-based 1.1 SP1 installed) or 1.1.4322.2300 (if you have the OCM-based 1.1 SP1 installed on Windows Server 2003) and 7.10.6001.4
.NET Framework 2.0
2.0.40607.16 and 8.0.40607.16
2.0.50215.44 and 8.0.50215.44
2.0.50727.42 and 8.0.50727.42
2.0.50727.1433 and 8.0.50727.1433
2.0.50727.3053 and 8.0.50727.3053
.NET Framework 3.0
3.0.04506.26 (on Windows Vista) and 3.0.04506.30 (on downlevel operating systems)
.NET Framework 3.5
3.5.21022.8 and 9.0.21022.8
3.5.30729.1 and 9.0.30729.1
.NET Framework 4
4.0.30319.1 and 10.0.30319.1
Please note that it is definitely not reliable to use the file versions in the above table to detect the installed service pack level. If you're interested in accurately determining what version of the .NET Framework is installed and what service pack is installed I would recommend checking out the blog post and sample code that I previously posted at this location.
<update date="1/31/2006"> Added another possible version number for 1.1 SP1. The files have different versions depending on whether you have the MSI-based .NET Framework 1.1 package installed or the OCM-based .NET Framework 1.1 package that is included as a part of Windows Server 2003 </update>
<update date="3/3/2006"> Added a column to the table for the final release of the .NET Framework 2.0 now that it has shipped </update>
<update date="3/20/2007"> Added a column to the table for the final release of the .NET Framework 3.0 now that it has shipped </update>
<update date="3/6/2008"> Added columns to the table for the .NET Framework 2.0 SP1, the .NET Framework 3.0 SP1 and the .NET Framework 3.5 now that they have shipped </update>
<update date="4/27/2010"> Added a column to the table for the .NET Framework 4 </update>
please help check the table.
Hi Skyivben - That table looks good to me. Thanks for putting it together. There is one version missing that you may want to add - the version of the .NET Framework 2.0 that comes with the final version of Windows Vista is 2.0.50727.312.
Also, this is a minor point, but on Windows Vista, the .NET Framework 2.0 and 3.0 are installed using CBS, not OCM. OCM is the legacy OS component install technology used on Windows Server 2003 and earlier.
Hi Aaron Stebner:
Thank you very much!
Please add an entry for WIn7 beta:
.NET 2.0: 2.0.50727.3521
Hi Sushovande - Win7 is still in beta, so I'm going to hold off on updating this blog post until Win7 ships and add a column to the table with the exact version numbers for the .NET Framework 2.0, 3.0 and 3.5 that end up shipping with Win7.
On my Windows Vista SP1, .NET Framework version is 2.0.50727.3074,
what is this version? .NET 2.0 SP2+?
Hi Skyivben - The systems that I have all have the .NET Framework 2.0 SP2 and the version numbers of files is 2.0.50727.3053. I'm guessing that the 3074 version is from a hotfix - do you have any .NET Framework hotfixes installed on your system? Also, which exact file(s) do you see with that version number?
On my Windows XP SP3, .NET Framework version is 2.0.50727.3082:
2.0.50727.3053 => 2.0 SP2
2.0.50727.3074 => 2.0 ?
2.0.50727.3082 => 2.0 ?
Hi Skyivben - SP2 is the latest available service pack for the .NET Framework 2.0. If you have a version number higher than 2.0.50727.3053, then the files are coming from a .NET Framework 2.0 hotfix.
I'm not sure exactly what version ships in every .NET Framework hotfix, but as you noted, the 3082 version is coming from KB958481.
2.0.50727.3074 is the WinXP/Win2003 version of the same hotfix (KB 958481).
2.0.50727.3082 is the Vista/Win2008 version.
2.0.50727.4927 (KB 974714)