Visual Studio Not loading projects correctly

John Granatino 20 Reputation points
2023-07-08T17:00:18.6366667+00:00

I have used visual studio on my laptop for a couple of years now.

But recently something got messed up. And now, when I try to load and run projects (even console applications) my solution explorer doesn't load any items. And it always prompts me to "Attach To Process" when I try to run anything.

I have tried uninstalling and reinstalling it. I've tried using software to delete all traces of visual studio (Soft Organizer) and then reinstalled it to find it still has not returned to its default behavior.

I've only tried reinstalling the minimum package and tools to make sure one item isn't corrupting everything and I still get this.

Can anybody help? Has anybody seen this before?

Developer technologies Visual Studio Other
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-07-10T06:56:22.8466667+00:00

    Hello @John Granatino ,

    Welcome to Microsoft Q&A forum.

    If this issue only appears on .NET based projects, instead of .NET Framework based projects(you can try to create new projects for testing), then you can try to close VS > search and open Edit the system environment variables > click Environment Variables > in System variables select Path > click Edit > check, if C:\Program Files\dotnet\ and C:\Program Files (x86)\dotnet\ both exist, make sure that C:\Program Files\dotnet\ locate higher than C:\Program Files (x86)\dotnet\. Also check if you have set any global.json file.

    User's image

    If this issue appears on every projects(.NET Framework and .NET based projects), please check following:

    1. If you are using any extension/antivirus, try to stop/disable them temporarily and restart VS.
    2. Try to run VS as administrator.
    3. Did you change anything before this issue appeared like updating something, modifying some files and installing some programs?

    Sincerely,

    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.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.