.NET 6 运行在Win7 SP1上出错

这篇博客主要讨论了在Windows 7 SP1系统上遇到的.NET框架加载hostfxr.dll失败的错误,以及如何通过安装UpdatePack7R2补丁来解决这个问题。.NET 6对Windows 7的支持需要额外的更新,该错误提示建议安装.NET运行时的先决条件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

错误信息:

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 Client7 SP1(*****), 8.1x64, x86Windows
Windows 10 ClientVersion 1607+x64, x86, Arm64Windows
Windows Server2012+x64, x86Windows Server
Windows Server Core2012+x64, x86Windows Server
Nano ServerVersion 1809+x64Windows 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/

升级后正常了。

VMware Player是一个免费软件,可以让PC用户在Windows或LinuxPC上很容易的运行虚拟机。vm虚拟机支持的格式有:VMwareWorkstation、GSXServer/ESXServer、Microsoftvirtualmachines、SymantecLiveStateRecovery。   VMware Player最大的不同之处就是省去了制作虚拟机的功能,就像其名字一样,它只是一个系统“播放器”,而不能用于创建虚拟系统。不过创建虚拟系统对一般的家庭用户来说,并不是很重要,因为制作虚拟机是非常麻烦的。 而现在,VMWare公司非常厚道地在 vm新版本中加入了“创建虚拟机”的功能,使得这个免费的软件的实用价值大幅提升了。 VMware Workstation 9.0 带来如下几点重大改进: 为Win8系统环境以及运行Win8虚拟机而全新设计、图形性能显著提升、改善增强Linux客户机的OpenGL、受限的虚拟机(用户改变设置时需输入密码)、Win8虚拟机中附加USB3.0设备、增加Hyper-V、虚拟性能计数器、远程处理的改进等等。   为了更好的兼容Windows8.1,VMWare 推出了最新版本的虚拟机VMware Workstation 10.0简体中文版 。新版本除了可以更好的运行Windows8.1之外,更大的惊喜在于,此次VMware Workstation 将原生自带简体中文。再也无需四处寻找汉化版啦!   VMware Workstation 10.0简体中文版新功能:最大支持虚拟16个CPU;可以虚拟容量为2T的磁盘;虚拟磁盘除了IDE和SCSI还支持SATA;更好的支持USB3.0;SSD穿透技     新增功能: 新的操作系统支持 - Windows 10技术预览版 - Win8.1 Update - Windows Server 2012 R2 - Ubuntu 14.10 - Red Hat Enterprise Linux 7 - CentOS 7 - OpenSUSE 13.2 - SUSE Linux Enterprise 12 VMware硬件版本11 硬件版本在引入新虚拟硬件功能和新特性的同时,还允许VMware虚拟机中运行旧操作系统。该硬件版本中包含的新功能特性: - 新的CPU支持,包括Intel Haswell微体系结构扩展支持。 Workstation 11进行了优化以充分利用新的Haswell扩展,从而将CPU密集型操作的性能最多提高45%,例如,多媒体、加密/解密以及其他高强度性能测试。 - 更新的xHCI控制器 - 更新的NDIS驱动器 改进了Windows 8.1虚拟机的Unity。 最多为虚拟机分配2GB显存 改进了高DPI显示器 Workstation 11进行了优化以支持更高分辨率的显示器,例如,笔记本电脑和x86平板电脑中使用的新QHD (3200x1800)显示器。 与VMware vCloud Air集成在一起 您现在可以连接到vCloud Air并从Workstation 11界面中上传、运行和查看虚拟机,从而在外部云中扩展您的虚拟机。 引导虚拟机并提供EFI支持 为虚拟机创建桌面快捷方式
vmware 11 最新的unlock2.0 Mac OS X Unlocker for VMware V2.0 ================================= 1. Introduction --------------- Unlocker 2 is designed for Workstation 11, Player 7 and Fusion 7. If you are using an earlier product please continue using Unlocker 1 Version 2 has been tested against: * Workstation 11 on Windows and Linux * Player 7 on Windows and Linux * Fusion 7 on Mavericks and Yosemite * (Currently is does not work on ESXi 6.0) The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow Mac OS X to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation * A copy of the latest VMware Tools for OS X is included Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation and Player. The vmwarebase code does not need to be patched on OS X so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is now Python as it makes the Unlocker easier to run and maintain on ESXi. There are some challenges to write the code as ESXi has a subset of Python 2.7 which constrains some modules that can be used. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros and OS X ship with a compatible Python interpreter and should work without requiring any additional software. Windows will need a version of Python installed and the code has been tested against: CPython - https://www.python.org/downloads/ ActiveState Python - http://www.activestate.com/activepython/downloads IronPython - https://ironpython.codeplex.com/releases/view/169382 The python.exe file must be on the executable PATH. If it is not on PATH please edit win-install.cmd to point to the installation path. 3. Limitations -------------- The Unlocker currently does not work on ESXi 6. The Unlocker does not remove the check for server versions for OS X Leopard and Snow Leopard (10.5 and 10.6). +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | If you create a new VM using version 11 hardware VMware will stop and | | create a core dump.There are two options to work around this issue: | | | | 1. Change the VM to be HW 10 - this does not affect performance. | | 2. Edit the VMX file and add: | | smc.version = 0 | | | +-----------------------------------------------------------------------------+ Work continues to find solutions to the limitations. 4. Windows ---------- On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select "Run as administrator". win-install.cmd - patches VMware win-uninstall.cmd - restores VMware 5. Linux --------- On Linux you will need to be either root or use sudo to run the scripts. You may need to ensure the Linux scripts have execute permissions by running chmod +x against the 2 files. lnx-install.sh - patches VMware lnx-uninstall.sh - restores VMware 6. Mac OS X ----------- On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife for all the testing and support. History ------- 12/12/14 1.0.0 - First release (c) 2011-2014 Dave Parsons
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值