.NET Framework 系统要求.NET Framework system requirements

本主题中的表格针对 .NET Framework 以下版本列出了硬件、操作系统和软件要求:The tables in this topic provide the hardware, operating system, and software requirements for the following .NET Framework versions:

  • .NET Framework 4.5 及其次要版本(4.5.1 和 4.5.2)。.NET Framework 4.5 and its point releases (4.5.1 and 4.5.2).
  • .NET Framework 4.6 及其次要版本(4.6.1 和 4.6.2)。.NET Framework 4.6 and its point releases (4.6.1 and 4.6.2).
  • .NET Framework 4.7 及其单点版本(4.7.1 和 4.7.2)。.NET Framework 4.7 and its point releases (4.7.1 and 4.7.2).
  • .NET Framework 4.8.NET Framework 4.8

有关早于 .NET Framework 4.5 的 .NET Framework 版本,请参阅 .NET Framework 版本和依赖项For information on .NET Framework versions earlier than .NET Framework 4.5, see .NET Framework versions and dependencies.

允许你开发 .NET Framework 的应用的开发环境具有单独的一套需求。Development environments that enable you to develop apps for the .NET Framework have a separate set of requirements.

重要

从 .NET Framework 4 开始,所有 .NET Framework 版本都是就地更新的,因此,在系统中只能存在一个 4.x 版本。All .NET Framework versions since .NET Framework 4 are in-place updates, so only a single 4.x version can be present on a system. 此外,某些版本的 Windows 操作系统上预装了特定版本的 .NET Framework。In addition, particular versions of the .NET Framework are pre-installed on some versions of the Windows operating system. 这表示:This means that:

  • 如果在计算机上已安装了更高的 4.x 版本,则无法安装以前的 4.x 版本。If there's a later 4.x version installed on the machine already, you can't install a previous 4.x version.
  • 如果操作系统预安装了特定的 .NET Framework 版本,则无法在同一计算机上安装以前的 4.x 版本。If the OS comes pre-installed with a particular .NET Framework version, you can't install a previous 4.x version on the same machine.
  • 如果你安装更高版本,则无需先卸载以前的版本。If you install a later version, you don't have to first uninstall the previous version.

有关下载信息和链接,请参阅安装面向开发者的 .NET FrameworkFor download information and links, see Install the .NET Framework for developers.

有关 .NET Framework 版本的支持生命周期的信息,请参阅 Microsoft 支持生命周期For information on the support lifecycle of .NET Framework versions, see Microsoft Support Lifecycle.

硬件要求Hardware requirements

处理器Processor 1 GHz1 GHz
RAMRAM 512 MB512 MB
磁盘空间(最小值)Disk space (minimum)
32 位32-bit 4.5 GB4.5 GB
64 位64-bit 4.5 GB4.5 GB

安装要求Installation requirements

需要具有管理员权限才能安装 .NET Framework。The .NET Framework requires administrator privileges for installation. 如果在要安装 .NET Framework 的计算机上不具有管理员权限,请联系网络管理员。If you don't have administrator rights to the computer where you'd like to install the .NET Framework, contact your network administrator.

支持的客户端操作系统Supported client operating systems

操作系统Operating system 支持的版本Supported editions 随 OS 预安装Preinstalled with the OS 可单独安装Installable separately
Windows 10 2019 年 5 月更新Windows 10 May 2019 Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.8.NET Framework 4.8 --
Windows 10 2018 年 10 月更新Windows 10 October 2018 Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.7.2.NET Framework 4.7.2 .NET Framework 4.8.NET Framework 4.8
Windows 10 2018 年 4 月更新Windows 10 April 2018 Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.7.2.NET Framework 4.7.2 .NET Framework 4.8.NET Framework 4.8
Windows 10 Fall Creators UpdateWindows 10 Fall Creators Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.7.1.NET Framework 4.7.1 .NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows 10 创意者更新Windows 10 Creators Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.7.NET Framework 4.7 .NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows 10 周年更新Windows 10 Anniversary Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.6.2.NET Framework 4.6.2 .NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows 10 November UpdateWindows 10 November Update 32 位和 64 位32-bit and 64-bit .NET Framework 4.6.1.NET Framework 4.6.1 .NET Framework 4.6.2.NET Framework 4.6.2
Windows 10Windows 10 32 位和 64 位32-bit and 64-bit .NET Framework 4.6.NET Framework 4.6 .NET Framework 4.6.1.NET Framework 4.6.1

.NET Framework 4.6.2.NET Framework 4.6.2
Windows 8.1Windows 8.1 32 位、64 位和 ARM32-bit, 64-bit, and ARM .NET Framework 4.5.1.NET Framework 4.5.1 .NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

.NET Framework 4.6.1.NET Framework 4.6.1

.NET Framework 4.6.2.NET Framework 4.6.2

.NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows 8Windows 8 32 位、64 位和 ARM32-bit, 64-bit, and ARM .NET Framework 4.5.NET Framework 4.5 .NET Framework 4.5.1.NET Framework 4.5.1

.NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

.NET Framework 4.6.1.NET Framework 4.6.1
Windows 7 SP1Windows 7 SP1 32 位和 64 位32-bit and 64-bit -- .NET Framework 4.NET Framework 4

.NET Framework 4.5.NET Framework 4.5

.NET Framework 4.5.1.NET Framework 4.5.1

.NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

.NET Framework 4.6.1.NET Framework 4.6.1

.NET Framework 4.6.2.NET Framework 4.6.2

.NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows Vista SP2Windows Vista SP2 32 位和 64 位32-bit and 64-bit -- .NET Framework 4.NET Framework 4

.NET Framework 4.5.NET Framework 4.5

.NET Framework 4.5.1.NET Framework 4.5.1

.NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6
Windows XPWindows XP 32 位和 64 位32-bit and 64-bit -- .NET Framework 4.NET Framework 4

注意:Notes:

  • 在 Windows 7 系统上,.NET Framework 要求安装 Windows 7 SP1。On Windows 7 systems, the .NET Framework requires Windows 7 SP1. 如果运行的是 Windows 7 系统,但尚未安装 Service Pack 1,则需要先安装 SP1,然后才能安装 .NET Framework。If you're on Windows 7 and haven't yet installed Service Pack 1, you need to do so before installing the .NET Framework.

  • Windows 预安装环境 (Windows PE) 上支持 .NET Framework 4.5。.NET Framework 4.5 is supported on the Windows Preinstallation Environment (Windows PE). Windows PE 上并非支持所有功能。Not all features are supported on Windows PE.

  • .NET Framework 4 还支持 IA64 平台。.NET Framework 4 also supports the IA64 platform.

  • 对于所有平台,我们都建议升级到最新的 Windows Service Pack 并安装 Windows Update 网站上提供的关键更新,从而确保实现最佳兼容性和安全性。For all platforms, we recommend that you upgrade to the latest Windows Service Pack and install critical updates available from the Windows Update website to ensure the best compatibility and security.

  • 在 64 位操作系统上,.NET Framework 支持 WOW64(在 64 位计算机上进行 32 位处理)和本机 64 位处理。On 64-bit operating systems, the .NET Framework supports both WOW64 (32-bit processing on a 64-bit machine) and| native 64-bit processing.

支持的服务器操作系统Supported server operating systems

操作系统Operating system 支持的版本Supported editions 随 OS 预安装Preinstalled with the OS 可单独安装Installable separately
Windows Server 2019Windows Server 2019 64 位64-bit .NET Framework 4.7.2.NET Framework 4.7.2 .NET Framework 4.8.NET Framework 4.8
Windows Server 版本 1809Windows Server, version 1809 64 位64-bit .NET Framework 4.7.2.NET Framework 4.7.2 .NET Framework 4.8.NET Framework 4.8
Windows Server 版本 1803Windows Server, version 1803 64 位64-bit .NET Framework 4.7.2.NET Framework 4.7.2 .NET Framework 4.8.NET Framework 4.8
Windows Server 版本 1709Windows Server, version 1709 64 位64-bit .NET Framework 4.7.1.NET Framework 4.7.1 .NET Framework 4.7.2.NET Framework 4.7.2
Windows 2016 ServerWindows Server 2016 64 位64-bit .NET Framework 4.6.2.NET Framework 4.6.2 .NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows Server 2012 R2Windows Server 2012 R2 64 位64-bit .NET Framework 4.5.1.NET Framework 4.5.1 .NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

.NET Framework 4.6.1.NET Framework 4.6.1

.NET Framework 4.6.2.NET Framework 4.6.2

.NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows Server 2012(64 位版本)Windows Server 2012 (64-bit edition) 64 位64-bit .NET Framework 4.5.NET Framework 4.5 .NET Framework 4.5.1.NET Framework 4.5.1

.NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

.NET Framework 4.6.1.NET Framework 4.6.1

.NET Framework 4.6.2.NET Framework 4.6.2

.NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows Server 2008 R2 SP1Windows Server 2008 R2 SP1 64 位64-bit -- .NET Framework 4.NET Framework 4

.NET Framework 4.5.NET Framework 4.5

.NET Framework 4.5.1.NET Framework 4.5.1

.NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

.NET Framework 4.6.1.NET Framework 4.6.1

.NET Framework 4.6.2.NET Framework 4.6.2

.NET Framework 4.7.NET Framework 4.7

.NET Framework 4.7.1.NET Framework 4.7.1

.NET Framework 4.7.2.NET Framework 4.7.2

.NET Framework 4.8.NET Framework 4.8
Windows Server 2008 SP2Windows Server 2008 SP2 32 位和 64 位32-bit and 64-bit -- .NET Framework 4.NET Framework 4

.NET Framework 4.5.NET Framework 4.5

.NET Framework 4.5.1.NET Framework 4.5.1

.NET Framework 4.5.2.NET Framework 4.5.2

.NET Framework 4.6.NET Framework 4.6

注意:Notes:

  • Windows Server 2012Windows Server 2012 包括 .NET Framework 4.5,因此,你不必单独安装它。includes .NET Framework 4.5, so you don't have to install it separately. 同样,Windows Server 2012 R2Windows Server 2012 R2 包括.NET Framework 4.5.1。Similarly, Windows Server 2012 R2Windows Server 2012 R2 includes .NET Framework 4.5.1.

  • .NET Framework 对 Windows Server 2008 R2 SP1 或更高版本的服务器核心角色的支持有限。The .NET Framework has limited support for the Server Core Role with Windows Server 2008 R2 SP1 or later. 有关不受支持的 API 列表,请参阅服务器核心 .NET 功能See Server Core .NET Functionality for a list of unsupported APIs.

  • 适用于基于 Itanium 的系统的 Windows Server 2008 R2 不支持 .NET Framework。The .NET Framework isn't supported on Windows Server 2008 R2 for Itanium-Based Systems.

  • 在 Windows Server 2008 SP2 上,.NET Framework 在服务器核心角色中不受支持。On Windows Server 2008 SP2, the .NET Framework is not supported in the Server Core Role.

  • 对于所有平台,我们都建议升级到最新的 Windows Service Pack 并安装 Windows Update 网站上提供的关键更新,从而确保实现最佳兼容性和安全性。For all platforms, we recommend that you upgrade to the latest Windows Service Pack and critical updates available from the Windows Update website to ensure the best compatibility and security. 某些操作系统上可能需要安装最新的 Windows Service Pack。Installation of the latest Windows Service Pack may be required on some operating systems.

  • 在 64 位操作系统上,.NET Framework 支持 WOW64(在 64 位计算机上进行 32 位处理)和本机 64 位处理。On 64-bit operating systems, the .NET Framework supports both WOW64 (32-bit processing on a 64-bit machine) and native 64-bit processing.

请参阅See also