




















官方对操作系统的支持说明
从 6.0 起就已经没有说对 NT 6.1 操作系统的支持了:
https://github.com/dotnet/core/blob/main/release-notes/10.0/supported-os.md
https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md
https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md
但没有说不代表不能用,实际上还是允许安装的。
官方安装说明
https://learn.microsoft.com/zh-cn/dotnet/core/install/windows
实际安装流程
1、安装 IIS
正常安装即可。
2、安装 Microsoft Visual C++ Redistributable
最新能安装到的版本是与 Visual Studio 2022(17.0)同版本提供的版本
下载:https://aka.ms/vs/17/release/VC_redist.x64.exe
正常安装即可。
更多下载:https://www.cnblogs.com/xwgli/p/20154262
3、安装 ASP.NET Core 10.0
下载:https://dotnet.microsoft.com/zh-cn/download/dotnet/10.0
选择 Hosting Bundle 进行下载,正常安装即可。
4、安装系统补丁:KB3063858
目前看这个补丁是从 6.0 开始,一直到 8.0、10.0 都是装上就可以正常使用了。
下载:
Windows Server 2008 R2 x64 Edition 安全更新程序 (KB3063858)
https://www.microsoft.com/zh-cn/download/details.aspx?id=47479
用于基于 x64 的系统的 Windows 7 安全更新程序 (KB3063858)
https://www.microsoft.com/zh-cn/download/details.aspx?id=47442
正常安装即可,装完需重启。
5、验证
在命令行中输入 dotnet --info ,输出正常版本信息即可。
结束。
注意!!
运行时可以正常运行不代表所有的程序都可以正常运行。
如果是第三方包依赖系统版本的情况,仍然可能会报错导致程序不能正常运行。
如果是窗口程序可能还需要更多补丁,此文内容暂不涉及。
参考:https://zhuanlan.zhihu.com/p/695992746
https://blog.lindexi.com/post/%E6%8E%A2%E7%B4%A2-dotnet-core-%E4%B8%BA%E4%BD%95%E5%9C%A8-Windows7-%E7%B3%BB%E7%BB%9F%E9%9C%80%E8%A6%81%E8%A1%A5%E4%B8%81%E7%9A%84%E5%8E%9F%E5%9B%A0.html
https://www.cnblogs.com/buckwheat/p/19193991
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。