AOT是Ahead Of Time的缩写,指运行前编译,是两种程序的编译方式之一,与JIT(Just-in-time)相对

.net 对操作系统的支持情况

https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md

操作系统

.NET 8(体系结构)

.NET 6(体系结构)

Windows 11

✔️ x64、x86、Arm64

✔️ x64、Arm64

Windows Server 2022

✔️ x64、x86

✔️ x64、x86

Windows 10 版本 1607 或更高版本

✔️ x64、x86、Arm64

✔️ x64、x86、Arm64

Windows 8.1


✔️ x64、x86

Windows 7 SP1 ESU


✔️ x64、x86

Windows Server 2022

Windows Server 2019

Windows Server 版本 1903 或更高版本

Windows Server 2016

Windows Server 2012 R2

Windows Server 2012

✔️ x64、x86

✔️ x64、x86

Windows Server Core 2012(和 R2)

✔️ x64、x86

✔️ x64、x86

Nano Server 版本 1809+

✔️ x64

✔️ x64

Nano Server 版本 1803



 

Windows 7/8.1/Server 2012

虽然最新版本的 .NET 仍支持 Windows 2012,但 .NET 6 是最后一个支持 Windows 7 和 Windows 8.1 的版本。 这三个版本的 Windows 都要求安装更多的依赖项:

操作系统

先决条件

Windows 7 SP1 ESU

- Microsoft Visual C++ 2015-2019 Redistributable 64 位 / 32 位- KB3063858 64 位 / 32 位

Microsoft 根证书颁发机构 2011(仅限 .NET Core 2.1 脱机安装程序)

Windows 8.1

Microsoft Visual C++ 2015-2019 Redistributable 64 位 / 32 位

Windows Server 2012

Microsoft Visual C++ 2015-2019 Redistributable 64 位 / 32 位

Windows Server 2012 R2

Microsoft Visual C++ 2015-2019 Redistributable 64 位 / 32 位

如果收到与以下 dll 之一相关的错误,也需要满足上述要求:

  • api-ms-win-crt-runtime-l1-1-0.dll
  • api-ms-win-cor-timezone-l1-1-0.dll
  • hostfxr.dll

桌面版 Windows

  1. Windows 11
  2. Windows 10 (版本 1809 及更高版本)

服务器版 Windows

  1. Windows Server 2022
  2. Windows Server 2019
  3. Windows Server 2016

这些版本的 Windows 操作系统均能运行 .NET 8 应用程序。