以下版本都安装一遍,
在测试过程中发现,x86和x64版要同时安装,因为有的软件需要的是x86版,并不能因为我们系统是x64的比如Windows 11只有x64版那我们就只安装x64版,这样软件还是报错。
最终和网友一起测试的结果就是,将.NET Runtime 5.0/6.0的x86和x64版、以及.NET SDK 5.0/6.0的x86和x64版全部安装。
这么一番折腾后大多数小工具都可以正常运行了,不会再弹出报错。
.NET SDK 6.0+ x64版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/sdk-6.0.201-windows-x64-installer
.NET SDK 6.0+ x86版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/sdk-6.0.201-windows-x86-installer
.NET SDK 5.0+ x64版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/sdk-5.0.406-windows-x64-installer
.NET SDK 5.0+ x86版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/sdk-5.0.406-windows-x86-installer
----- SDK包含Runtime 一般无需单独安装Runtime -----
.NET Runtime 6.0+ x64版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-desktop-6.0.3-windows-x64-installer
.NET Runtime 6.0+ x86版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-desktop-6.0.3-windows-x86-installer
.NET Runtime 5.0+ x64版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-5.0.15-windows-x64-installer
.NET Runtime 5.0+ x86版:
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-5.0.15-windows-x86-installer