Error reinstalling visuall studio 2019

elipie 21 Reputation points
2021-06-09T20:17:43.317+00:00

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?

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,144 questions
0 comments No comments
{count} votes

Accepted answer
  1. PengGe-MSFT 3,376 Reputation points
    2021-06-10T02:35:04.773+00:00

    Hi @elipie

    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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 58,451 Reputation points
    2021-06-09T21:49:16.787+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.