简体   繁体   中英

Can't Install or Uninstall Visual Studio 2017/2019

I have previously installed Microsoft Visual Studio 2017 but I forgot to add the .NET component for programming in unity. When I tried to launch the Visual Studio Installer, it shows me this:

It gives me this specific error code when running the installer

Then, when I tried to download the latest version of Visual Studio 2019, it gives me two errors when running the installer:

Failed to download Channel. Unable to download the channel from link

A product matching the following parameters could not be found

Also, for some reason, uninstalling it doesn't seem to work as when I tried to uninstall it via the add/remove programs on Windows 10, it says it's completing the uninstall but when I restart it's still there.

Lastly, I've tried to use the VisualStudioUninstaller tool on GitHub but even then when using it, it still results in the same errors. I also checked my Visual Studio folders but there is no InstallCleanup.exe no matter how many times I try to run the installer.

The error you report is usually related to a corrupt or out sync .vs cache. Usually, deleting the hidden folder in the root of your solution does solve the issue. If furthermore, manually cleaning the file system by deleting the bin and obj folders for each project might help sometimes.

For additional troubleshooting, please have a look to Why does my visual studio closes automatically without any errors

faced same type of problem, during that i resolved by deleting registry files then rebooted my machine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM