各种 .NET Framework 版本的操作系统兼容性
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/198873/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
OS Compatibility for various .NET Framework versions
提问by torial
What are the minimum OS requirements for each of the .Net frameworks? E.g. for which version is it impossible to run each OS on:
每个 .Net 框架的最低操作系统要求是什么?例如对于哪个版本是不可能运行每个操作系统的:
- Windows 95
- Windows 98
- Windows 98SE
- Windows ME
- Windows NT 3.x
- Windows NT 4
- Windows 2000
- 视窗 95
- 视窗 98
- 视窗 98SE
- 视窗 ME
- 视窗 NT 3.x
- 视窗 NT 4
- 视窗 2000
I believe all .Net frameworks are compatible w/ XP, Vista, Windows Server 2003, and Windows Server 2008 (please correct me on that if wrong).
我相信所有 .Net 框架都与 XP、Vista、Windows Server 2003 和 Windows Server 2008 兼容(如果错误,请纠正我)。
回答by Steve Hiner
1.x and 2.0 work all the way back to Win98 but stop before Windows 8 (not verified).
1.x 和 2.0 一直工作到 Win98,但在 Windows 8 之前停止(未验证)。
.NET Framework 2.0 Supported Operating Systems according to Microsoft:
.NET Framework 2.0根据 Microsoft支持的操作系统:
- Windows 98
- Windows ME
- Windows 2000
- Windows XP
- Windows Vista (included with OS)
- Windows Server 2003
- Windows Server 2008 (included with OS)
- 视窗 98
- 视窗 ME
- 视窗 2000
- 视窗 XP
- Windows Vista(包含在操作系统中)
- 视窗服务器 2003
- Windows Server 2008(包含在操作系统中)
.NET Framework 3.0 Supported OSs:
.NET Framework 3.0 支持的操作系统:
- Windows XP SP2
- Windows Vista (included with OS)
- Windows 7
- Windows 8
- Windows 2003 Server Service Pack 1 (SP1)
- 视窗 XP SP2
- Windows Vista(包含在操作系统中)
- Windows 7的
- 视窗 8
- Windows 2003 服务器服务包 1 (SP1)
Note: Windows Vista comes with .NET Framework 3.0. Standalone .NET Framework 3.0 packages are not required and not supported on Vista.
注意:Windows Vista 随附 .NET Framework 3.0。独立的 .NET Framework 3.0 程序包不是必需的,并且在 Vista 上不受支持。
.NET Framework 3.5 Supported OSs according to Microsoft:
根据微软的说法,.NET Framework 3.5 支持的操作系统:
- Windows XP
- Windows Vista
- Windows 7 (included with OS)
- Windows 8 & 8.1 see
- Windows Server 2003
- Windows Server 2008
- Windows Server 2012 & 2012 R2 see
.NET Framework 4.0 Supported OSs according to Microsoft:
根据微软的说法,.NET Framework 4.0 支持的操作系统:
- Windows XP (but not Starter, Media Center or Tablet editions)
- Windows Vista
- Windows 7
- Windows 8
- Windows 10
- Windows Server 2003
- Windows Server 2008
- Windows XP(但不是 Starter、Media Center 或 Tablet 版本)
- 视窗Vista
- Windows 7的
- 视窗 8
- 视窗 10
- 视窗服务器 2003
- 视窗服务器 2008
.NET Framework 4.5 Supported OSs according to Microsoft:
根据微软的说法,.NET Framework 4.5 支持的操作系统:
- Windows Vista SP2
- Windows 7
- Windows 8 (included with OS)
- Windows 10
- Windows Server 2008 SP2/R2
- Windows Server 2012 (included with OS)
- 视窗 Vista SP2
- Windows 7的
- Windows 8(包含在操作系统中)
- 视窗 10
- 视窗服务器 2008 SP2/R2
- Windows Server 2012(包含在操作系统中)
.NET Framework 4.5.1/4.5.2/4.6 Supported OSs according to Microsoft:
.NET Framework 4.5.1/4.5.2/4.6根据 Microsoft支持的操作系统:
- Windows Vista SP2
- Windows 7 SP1
- Windows 8
- Windows 8.1 (included with OS)
- Windows 10 (4.6 included with OS)
- Windows Server 2008 SP2/R2
- Windows Server 2012 (included with OS)
- 视窗 Vista SP2
- 视窗 7 SP1
- 视窗 8
- Windows 8.1(包含在操作系统中)
- Windows 10(操作系统随附 4.6)
- 视窗服务器 2008 SP2/R2
- Windows Server 2012(包含在操作系统中)
回答by stephenbayer
Microsoft .NET framework is supported on Windows 98 and up starting at version 1.0, with the following exceptions:
从 1.0 版开始,Windows 98 及更高版本支持 Microsoft .NET 框架,但以下情况除外:
Windows NT
Windows Server 2003 (Itanium-based)
As an added note, I've been able to run .NET IL Portable Executables on platforms up to version 2.0 fairly reliably through Mono on Linux based machines. Though it does run better if it is compiled in Mono. For odd some reason, PE's compiled with the Mono package are closer to the written standards of the .NET IL than when compiled with the Microsoft .NET compilers.
作为补充说明,我已经能够在基于 Linux 的机器上通过 Mono 在高达 2.0 版的平台上相当可靠地运行 .NET IL 可移植可执行文件。尽管如果在 Mono 中编译它确实运行得更好。出于某种奇怪的原因,使用 Mono 包编译的 PE 比使用 Microsoft .NET 编译器编译时更接近 .NET IL 的书面标准。
.NET 2.0 states on MSDN that it is compatible with Windows 98
.NET 2.0 在 MSDN 上声明它与 Windows 98 兼容
.NET 3.0/3.5 requires XP or above:
Microsoft Windows 2003 Server Service Pack 1 (SP1)
Windows XP SP2
Windows Vista *
回答by martin
.Net 1, 1.1 and 2.0 are supported on all from Windows 98 / Windows 2000 + NOT windows NT or windows 95.
.Net 1、1.1 和 2.0 在 Windows 98 / Windows 2000 + NOT Windows NT 或 Windows 95 上均受支持。
.Net 3.0 / 3.5 is supported only on Windows XP/ Vista, Server 2003 and Server 2008 editions. Windows 98 and 2000 are no longer supported. See MSDN
.Net 3.0 / 3.5 仅在 Windows XP/Vista、Server 2003 和 Server 2008 版本上受支持。不再支持 Windows 98 和 2000。见MSDN
回答by Franci Penov
Update: Apparently I was wrong. As pointed by other people, MSDN states 2.0 and below work on Win 98 as well.
更新:显然我错了。正如其他人所指出的,MSDN 声明 2.0 及以下版本也适用于 Win 98。
All .Net versions work on XP SP2 and above, although some classes also offer support for Vista specific features and fail gracefully on XP. I think 1.0 used to work on Windows 2000, but every other released .Net expects XP or higher.
所有 .Net 版本都适用于 XP SP2 及更高版本,尽管某些类还提供对 Vista 特定功能的支持,但在 XP 上正常失败。我认为 1.0 曾经可以在 Windows 2000 上运行,但其他所有发布的 .Net 都需要 XP 或更高版本。

