title: ASP.Net Core WebApi Project creates an empty solution
body: <p>I am trying to create a ASP.Net Core WebAPI application, i installed every sdk and runtime i was told to.</p>
  <p>I then go into Visual Studio and create the Project from the ProjectCreator.
  What I end up with is an empty solution and a project in the specified directory that i cannot open, with the error message the Project cannot be opened because it couldnt find a fitting sdk
  (btw, creating it with .netCore3.1)</p>
  <p>Heres a list of my installed sdks/runtimes:</p>
  <ul>
  <li>.NET Core Runtime 2.1</li>
  <li>.NET Core Runtime 3.1</li>
  <li>.NET Core SDK 3.1.1</li>
  <li>.NET Core SDK 3.1.4</li>
  <li>.NET Runtime 5.0</li>
  <li>.NET SDK 5.0.2</li>
  <li>.NET SDK 5.0.3</li>
  <li>ASP.NET Core 3.1.17</li>
  <li>ASP.NET Core 5.0.8</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/TyRmf.png" rel="nofollow noreferrer">This is what my solution explorer looks like tho the csproj is correctly placed</a></p>
  <p>Whats seems to be the problem? Too many runtimes/sdk?
  Are they overriding each other? Visual Studio cannot choose? I am baffled, this should work :/</p>
  <p>[Edit1]
  This is the guide I am following: <a href="https://docs.microsoft.com/de-de/aspnet/core/tutorials/first-web-api?view=aspnetcore-5.0&amp;tabs=visual-studio" rel="nofollow noreferrer">https://docs.microsoft.com/de-de/aspnet/core/tutorials/first-web-api?view=aspnetcore-5.0&amp;tabs=visual-studio</a></p>
  <p>[Edit2]
  I found a command that lets you see every sdk and runtime the dotnet/cli can access/see</p>
  <p>(dotnet --info)
  <a href="https://i.stack.imgur.com/wyBXs.png" rel="nofollow noreferrer">Looks like dotnet doesnt seem to find an sdk i installed</a></p>
  <p>[Edit3]
  I tried to manually install the .net core SDK 3.1 binaries into the C:\ProgramFiles\dotnet folder, but to no avail, dotnet --info still doesnt recognize the SDK</p>
  <p>[Edit4]
  I got it working, I will post the solution as an answer.</p>