I've been having some weird issues with Visual Studio 2022 lately so I wanted to run a repair through the Visual Studio Installer. However, when I run the installer it is giving me errors. I will put a screen shot in to show:
I tried downloading the installer again and it just keeps giving me the same message. I tried doing a change/uninstall from Control Panel but that just starts the install which gives me this error. Can anyone please help? I am not able to do any development and I don't want to format my whole laptop to start over.
Thanks
I did try the suggestions below and downloaded the exe from my visual studio subscription account but now I get this error when running it:
In this situation, I'd suggest a hard delete of the application. Only try this if Visual Studio is unusable, and therefore you have nothing to lose.
Basically, you can delete the entire folder here:
Then try to reinstall from the installer. This has worked for me in the past, when faced with a similar situation.
There could be registry keys left set that mean this does not solve your problem, but it's the first thing I would try in your current situation.