且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安装 Visual Studio 2015 社区版时出现多个错误

更新时间:2023-02-12 16:29:43

安装失败后,您必须修复 2015 vc redistributables 并重新启动 Visual Studio 安装程序.

After the failed install you have to repair the 2015 vc redistributables and restart the visual studio installer.

可再发行安装程序搞砸了,它混淆了 64 位和 32 位 dll.您可以通过查看 vcruntime140.dll 文件大小来检查是否存在此问题.在 Windows 文件夹中搜索 vcruntime140,您应该会看到 4 个文件(发行版和调试版中均为 64 位和 32 位).如果任何文件具有相同的大小,则需要在可再发行组件上运行修复.

The redistributable installer is messed up, it mixes up 64bit and 32bit dll's. You can check if you have this problem by looking at the vcruntime140.dll file size. Search your windows folder for vcruntime140 you should see 4 files (64 and 32 bit in both release & debug versions). If any files have the same size, you need to run a repair on the redistributable.

在我的系统上,32 位 dll 是 83.3KB,64 位是 86.6KB(发布版本).

On my system the 32-bit dll is 83,3KB, the 64 bit is 86,6KB (release versions).