Search code examples
.netvisual-studiodotnet-sdk

Visual Studio doesnt find the installed .net SDK


I have correctly installed the .Net SDK (Version 7) and in the "Program Files" folder it was shown. But when I start Visual Studio, it didnt find it and the Project-Map on the rightsight is empty.

Visual Studio Version 2022 is used.

A short instruction to fix it


Solution

  • i had this problem before, my solution:

    1. close all vs-apps
    2. go to your Advanced System Settings --> Advanced --> Environment Variables
    3. Under System Variables you will find the entry "Path" --> edit this one
    4. move the "C:\Program Files\dotnet" entry on top of "C:\Program Files(x86)\dotnet"
    5. press ok and restart vs

    hope that resolves the issue