Hello @Blokc ,
Welcome to Microsoft Q&A forum.
If VS Installer provides the "Repair" option(Normally More > Repair), then please click it and try to repair VS.
Some VS files may be corrupted, you can download and run this collect.exe tool. Go to %Temp%
folder and search for a file/folder called vslogs.zip. Extract the files from vslogs.zip, open the sub-folder called Temp, check the files start with dd_bootstrapper, dd_installer and dd_setup. If you find any detailed error messages like failing to install/update XXXX package, then please try to search and find that package in C:\ProgramData\Microsoft\VisualStudio\Packages
, remove/rename that specific folder and repair VS/continue updating VS. If you find other error message, please share it with us.
You can also directly uninstall VS manually and reinstall it by following below steps:
- Close VS and rename following folders:
- C:\Program Files (x86)\Microsoft Visual Studio
- C:\Program Files\Microsoft Visual Studio
- %programdata%\Microsoft\visualstudio\packages
- Rename this folder:
C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\17.0_xxxxxxxx
. - Rename %Temp% folder(you may need to reboot your machine before renaming %Temp% folder).
- Download a new VS setup file and put it into a new clean folder, double click to install VS.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.