简体   繁体   English

所有.NET Framework版本都包含在新的Windows版本中吗?

[英]Are all .NET framework versions included in new windows versions?

I know that .NET Framework is not backward compatible (ex. Installing 4.0 dlls does not include 3.0 dlls) 我知道.NET Framework不向后兼容(例如,安装4.0 dll不包括3.0 dll)

But what about Windows installations? 但是Windows安装呢? ex. 恩。 Windows 7 includes .NET 3.5, what about 2.0 is it installed as well ? Windows 7包括.NET 3.5,它也安装了2.0怎么办?

Which Windows versions includes .NET 2.0 dlls? 哪些Windows版本包含.NET 2.0 dll?

If you look at the Wikipedia Entry for the .NET Framework version history, you will see a table of the versions and which operating systems ship with it. 如果查看Wikipedia条目以了解.NET Framework版本历史,则将看到版本表以及随附的操作系统。

To summarize the wiki entry: 总结一下wiki条目:

1.0 is part of Windows XP Tablet and Media Center Editions. 1.0是Windows XP Tablet和Media Center Editions的一部分。

1.1 is part of Windows Server 2003 1.1是Windows Server 2003的一部分

2.0 is part of Windows Server 2003 R2 2.0是Windows Server 2003 R2的一部分

3.0 is part of Windows Vista, Windows Server 2008. [Note: 3.0 and 3.5 are extensions of .NET 2.0; 3.0是Windows Vista,Windows Server 2008的一部分。[注意:3.0和3.5是.NET 2.0的扩展; so 3.0 includes 2.0 and 3.5 includes 3.0 and 2.0] 所以3.0包括2.0和3.5包括3.0和2.0]

3.5 is part of Windows 7 and Windows Server 2008 R2 3.5是Windows 7和Windows Server 2008 R2的一部分

4.5 is part of Windows 8 and Windows Server 2012 4.5是Windows 8和Windows Server 2012的一部分

4.6 is a part of Windows 10 and Windows Server 2016 4.6是Windows 10和Windows Server 2016的一部分

So to answer your question, Windows Server 2003 R2, Vista, Server 2008, Server 2008 R2, Windows 7 all include the .NET Framework 2.0. 因此,为回答您的问题,Windows Server 2003 R2,Vista,Server 2008,Server 2008 R2,Windows 7都包含.NET Framework 2.0。 That's because the 3.0 and 3.5 are all built on top of .NET 2.0; 那是因为3.0和3.5都是建立在.NET 2.0之上的; and cannot exist without it. 没有它就无法存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM