Visual-studio – Multiple Errors Installing Visual Studio 2015 Community Edition

visual studiovisual-studio-2015

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

  • Team Explorer for Visual Studio 2015 -> Fatal Error
  • Microsoft NuGet – Visual Studio 2015 -> Package Failed
  • Microsoft Visual Studio Connected Services -> Packages Failed
  • Azure AD Authentication Connected Services -> Packages Failed
  • Microsoft Azure Mobile Services Connected Service -> Package Failed
  • Microsoft Azure Storage Connected Service -> Packages Failed
  • Microsoft.VisualStudio.Office365 -> Package Failed

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

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

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

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).

Best Answer

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

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.

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