question

elipie-8143 avatar image
0 Votes"
elipie-8143 asked PengGe-MSFT answered

Error reinstalling visuall studio 2019

version of Visual Studio is 2019

So, this is a bit of a long story, but it will help you understand my situation better.

First off, I am working with unity. I used Visual Studio in the past before so I didn't have the unity mod, because I did not think I would be using much unity. But now I am, I skimmed through this one youtube video and I thought I had to reinstall Visual Studio. So I made the mistake of deleting a bunch of Visual Studio files from my C: drive and deleting my recycling bin. How stupid of me. I could have just went to the Visual Studio mods website and downloaded it from there. I'm sorry for my stupidity. Anyways, when I tried reinstalling, it brought up this error:


Before we get started
Installation folder: 'C:Program Files(x86)\Microsoft Visual Studio\2019\Community' could not be found.
I tried reinstalling Visual Studio, but it just said the same thing.



Anyone have anything to help?

vs-setup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PengGe-MSFT avatar image
0 Votes"
PengGe-MSFT answered

Hi @elipie-8143

Welcome to Microsoft Q&A!

You need to uninstall Visual Studio first and then reinstall it.

The first step is to uninstall Visual Studio, you can refer to this document to run InstallCleanup.exe, it will remove the VS installation files and product information.
If you cannot find the InstallCleanup tool, you can refer to this document to try to uninstall Visual Studio using the uninstall command in CMD.
After the uninstallation is completed, you can download the latest bootstrap program to install Visual Studio.

If your issue still persists, feel free to let me know.

Sincerely,
Peng


If the answer is helpful, please click "Accept Answer" and upvote it.
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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cooldadtx avatar image
0 Votes"
cooldadtx answered

Have you tried running the VS installer and selecting the option to remove the existing instance? If no instance is found then it is quite possible you deleted some core stuff that it needed to know that. If you are in that state then you'll going to have to clean VS up using the InstallCleanup tool documented here. It'll wipe all instances of VS2019 from your machine (but not necessarily clean up all files) so you can reinstall again.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.