安装 Visual Studio 2015 社区版时出现多个错误 [英] Multiple Errors Installing Visual Studio 2015 Community Edition

查看:35
本文介绍了安装 Visual Studio 2015 社区版时出现多个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Windows 10 上安装 Visual Studio 2015 Community Edition 时,使用 Web 安装程序,一切正常,但无法安装以下软件包:

When installing Visual Studio 2015 Community Edition on Windows 10, using the web installer, everything runs fine, however, the following packages fail to install:

  • Visual Studio 2015 团队资源管理器 -> 致命错误
  • Microsoft NuGet - Visual Studio 2015 -> 包失败
  • Microsoft Visual Studio 连接服务 -> 包失败
  • Azure AD 身份验证连接服务 -> 包失败
  • Microsoft Azure 移动服务连接服务 -> 包失败
  • Microsoft Azure 存储连接服务 -> 包失败
  • Microsoft.VisualStudio.Office365 -> 打包失败

我尝试了一些解决方法,包括卸载系统上的每个 Visual Studio 版本、手动删除 C:ProgramDataProgram Cache 中的文件,甚至卸载我的 Antivirus(AVG) 已尝试禁用它,并事先查看它是否有效.我什至运行了命令 fsutil behavior set SymlinkEvaluation L2L:1 L2R:1 R2L:1 R2R:1

I have attempted a few work around including uninstalling every Visual Studio Version on my system, manually deleting the files in C:ProgramDataProgram Cache, and even gone as far as to uninstall my Antivirus (AVG) having attempted to disable it and see if that works before hand. I even ran the command fsutil behavior set SymlinkEvaluation L2L:1 L2R:1 R2L:1 R2R:1

我什至尝试使用 ISO,但遇到了同样的问题.

I have even tried to use the ISO but ran into the same issue.

由于我既不使用 Azure 也不使用团队资源管理器,因此任何解决方案都意味着我无法访问它们就足够了.

Since I don't use either Azure or Team Explorer any solutions which mean I won't have access to them will suffice.

安装程序生成的日志文件可以在这里找到 因为它的长度超过 65,000 个字符(只需滚动到底部即可获得所有乐趣).

The log file that was generated by the Installer can be found here as it was over 65,000 characters long (just scroll to the bottom for all the fun).

推荐答案

安装失败后,您必须修复 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).

这篇关于安装 Visual Studio 2015 社区版时出现多个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆