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

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

问题描述

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

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 Connected Services->程序包失败
  • Azure AD身份验证连接的服务->程序包失败
  • Microsoft Azure移动服务连接的服务->程序包失败
  • Microsoft Azure存储连接服务->程序包失败
  • Microsoft.VisualStudio.Office365->程序包失败

我尝试了一些解决方法,包括卸载系统上的每个Visual Studio版本,手动删除C:\ProgramData\Program Cache中的文件,甚至尝试卸载防病毒(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:\ProgramData\Program 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也不使用Team Explorer,因此任何解决方案都意味着我将无权使用它们.

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可再发行文件并重新启动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天全站免登陆