.NET Framework各版本汇总以及之间的关系
原文链接:http://blog.csdn.net/kingmax54212008/article/details/25886345
.NET Framework
.NET版本 | 1.0 | 1.1 | 2.0 | 3.0 | 3.5 | 4.0 | 4.5 |
完整版本 | 1.0.3705.0 | 1.1.4322.573 | 2.0.50727.42 | 3.0.4506.30 | 3.5.21022.8 | 4.0.30319.1 | 4.5.40805 |
发布时间 | 2002-02-13 | 2003-04-24 | 2005-11-07 | 2006-11-06 | 2007-11-19 | 2010-04-12 | 2012-05-24 |
VS开发版本 | VS2002 | VS2003 | VS2005 | VS2008 | VS2010 | VS2012 | |
Windows默认安装 | Windows Server 2003 | Windows Server 2003 Windows Server 2008 | Windows Vista Windows Server 2008 | Windows 7 Windows Server 2008 R2 | Windows 8 Windows Server 2012 | ||
下载 | .NET Framework 1.0 (SP3) | .NET Framework 1.1 (SP1) | .NET Framework 2.0 (SP2) | .NET Framework 3.0 (SP2) | .NET Framework 3.5 (SP1) | .NET Framework 4.0 | .NET Framework 4.5 |
说明 | Microsoft Internet Explorer 5.01 或更高版本 | Microsoft Internet Explorer 5.01 或更高版本 | Windows Installer 3.1 或更高版本 Internet Explorer 6.0 或更高版本 | 包括 .NET Framework 2.0 Service Pack 2 和 .NET Framework 3.0 Service Pack 2 累积更新 | Windows Installer 3.1 或更高版本 Internet Explorer 5.01 或更高版本 | .NET Framework 4.5 RC 是一个针对 .NET Framework 4 的高度兼容的就地更新。 | |
支持的windows版本 | Windows 98 Windows NT Windows Server 2000 Windows Server 2003 Windows XP | Windows Server 2000 Windows Server 2003 Windows XP | Windows Server 2003 Windows XP | Windows Server 2003 | Windows Server 2003 Windows Server 2008, Windows Vista Windows XP | Windows XP SP3 Windows Server 2003 SP2 Windows Vista SP1 Windows Server 2008 Windows 7 | Windows Vista SP2 Windows 7 Windows 8 Windows Server 2008 Windows Server 2012 |
版本关系
获取.NET框架版本
using System; using Microsoft.Win32; public class GetDotNetVersion { public static void Main() { Console.WriteLine( ".NET框架版本:" ); using (RegistryKey ndpKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "" ).OpenSubKey( @"SOFTWARE\Microsoft\NET Framework Setup\NDP\" )) { foreach ( string versionKeyName in ndpKey.GetSubKeyNames()) { if (versionKeyName.StartsWith( "v" )) { RegistryKey versionKey = ndpKey.OpenSubKey(versionKeyName); string name = ( string )versionKey.GetValue( "Version" , "" ); string sp = versionKey.GetValue( "SP" , "" ).ToString(); string install = versionKey.GetValue( "Install" , "" ).ToString(); if (install == "" ) //no install info, ust be later Console.WriteLine(versionKeyName + " " + name); else { if (sp != "" && install == "1" ) { Console.WriteLine(versionKeyName + " " + name + " SP" + sp); } } if (name != "" ) { continue ; } foreach ( string subKeyName in versionKey.GetSubKeyNames()) { RegistryKey subKey = versionKey.OpenSubKey(subKeyName); name = ( string )subKey.GetValue( "Version" , "" ); if (name != "" ) sp = subKey.GetValue( "SP" , "" ).ToString(); install = subKey.GetValue( "Install" , "" ).ToString(); if (install == "" ) //no install info, ust be later Console.WriteLine(versionKeyName + " " + name); else { if (sp != "" && install == "1" ) { Console.WriteLine( " " + subKeyName + " " + name + " SP" + sp); } else if (install == "1" ) { Console.WriteLine( " " + subKeyName + " " + name); } } } } } } Console.WriteLine(); Console.WriteLine( "操作系统版本:" + System.Environment.OSVersion.ToString()); Console.WriteLine( "当前.NET框架版本:" + System.Environment.Version.ToString()); Console.ReadKey(); } } |
参考资料
.NET Framework各版本汇总以及之间的关系的更多相关文章
- .net Framework各个版本之间的发展
原文:.net Framework各个版本之间的发展 上个星期看到了.NET 4.0框架退休日期逐渐临近文章,发现自己一直在使用NET FrameWork,身为一个NET程序员,里面大概的区别自己还 ...
- .net FrameWork各个版本之间的发展[转]
上个星期看到了.NET 4.0框架退休日期逐渐临近文章,发现自己一直在使用NET FrameWork,身为一个NET程序员,里面大概的区别自己还是知道的,但是自己要说出个所以然来了,发现还是有点力不 ...
- CLR/.NET/C#/Visual Studio/ASP.NET各版本之间的关系(转)
由于这篇文章记录的是2015年7月,那时.net core还是叫做.net core 5 名词定义 下列这些名词,写.NET 的人一定都不陌生,但你是否有真正理解呢?如果看了我的摘要文字说明还无法理解 ...
- .net版本之间的关系
net framework 2.0,3.0与3.5三个版本之间关系如下: .net framework 2.0 = CLR 2.0 + FCL(framework class library) .ne ...
- Django Rest framework 之 版本
RESTful 规范 django rest framework 之 认证(一) django rest framework 之 权限(二) django rest framework 之 节流(三) ...
- Visual Studio各版本工程文件之间的转换 [转载]
原网址:http://www.cnblogs.com/jmliao/p/5594179.html Visual Studio各版本工程文件之间的转换 由于VS版本比较多,低版本无法直接打开高版本的 ...
- .NET Core与.NET Framework、Mono之间的关系
随着微软的.NET开源的推进,现在在.NET的实现上有了三个.NET Framework,Mono和.NET Core.经常被问起Mono的稳定性怎么样,后续Mono的前景如何,要回答这个问题就需要搞 ...
- .NET Core 和 .NET Framework 之间的关系
引用一段描述:Understanding the relationship between .NET Core and the .NET Framework. .NET Core and the .N ...
- .NET Framework个版本说明
.NET Framework .NET版本 1.0 1.1 2.0 3.0 3.5 4.0 4.5 完整版本 1.0.3705.0 1.1.4322.573 2.0.50727.42 3.0.4506 ...
随机推荐
- 心情闲适,发几个tatanic的图
第一次看这个是98年在高一的同学家里. 唯一的月末休息时,那时没有电话,老父以为我会在下午到caojp,结果老父在寒风中等我一个下午,发火了.
- python-->基础-->002-->input & raw_input
一.input与raw_input的区别 1.raw_input()说明 a = raw_input("input content:")print a,type(a) 输出结果: ...
- java读取properties配置文件方法(一)
为了修改项目参数方便,需要使用properties配置文件: 首先是需要三个jar包(不同的jar包,读取配置文件的方式会有所不同,这里使用的是2.6版本的jar包) commons configur ...
- linux /usr/bin/ld: cannot find -lxxx
在linux环境编译应用程式或lib的source code时出现如下错误:/usr/bin/ld: cannot find -lxxx 这些讯息会随着编译不同类型的source code 而有不同的 ...
- How to Use JUnit With JMeter
Do you need to use JUnit in your testing processes? To answer this question, let's take a look first ...
- c#开发Mongo笔记第五篇
现在增删查改算是都完成了,但是查询算是有点不完美的,相信现在用juqeryeasyui这一类的插件的人应该也不少吧,这样的话前台展示需要JSON格式的数据, 好在mogno驱动提供toJson()的函 ...
- [学习笔记] 七步从AngularJS菜鸟到专家(7):Routing [转]
这是"AngularJS – 七步从菜鸟到专家"系列的第七篇. 在第一篇,我们展示了如何开始搭建一个AngularaJS应用.在第四.五篇我们讨论了Angular内建的directives,上一篇了解 ...
- 【洛谷P1378】油滴扩展
搜索-- PS一个坑点:r<=0时并不是舍弃这种情况,而是让r=0 (因为每个点都要放一滴油)(读题啊!) #include<cstdio> #include<cstring& ...
- GitLab的Gravatar头像服务不可用
由于www.gravatar.com在国内不可正常使用,导致我们搭建的GitLab在网页上会阻塞大量时间,并最终无法显示头像.我们可以将其替换成"多说"的头像服务.我使用的是CE ...
- log4j.properties example
google search log4j.properties example Output to Console # Root logger option log4j.rootLogger=INFO, ...