.NET 6 运行在Win7 SP1上出错解决方法

错误信息:

Failed to load the dll from [C:\Program Files\dotnet\host\fxr\6.0.0-preview.6.21
352.12\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from C:\Program Files\dotnet\h
ost\fxr\6.0.0-preview.6.21352.12\hostfxr.dll failed
- Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306

 

.NET 6  Windows支持系统列表:

OSVersionArchitecturesLifecycle
Windows Client 7 SP1(*****), 8.1 x64, x86 Windows
Windows 10 Client Version 1607+ x64, x86, Arm64 Windows
Windows Server 2012+ x64, x86 Windows Server
Windows Server Core 2012+ x64, x86 Windows Server
Nano Server Version 1809+ x64 Windows Server

* Windows 7 SP1 需要安装Extended Security Updates.

因此Win7需要安装更新。

UpdatePack7 R2(Win7补丁累积更新包),UpdatePack7 R2是Win7系统上的一款累积更新安装包工具,由老毛子团队制作,将Win7系统上的一些更新包程序整合到一起,一个补丁即可完成Win7系统的全部更新操作。
官网:Набор обновлений UpdatePack7R2 для Windows 7 SP1 и Server 2008 R2 SP1 — simplix.info
https://blog.simplix.info/update7/

升级后正常了。

原文地址:https://www.cnblogs.com/kevinl/p/15584257.html