❔ misssing files asp.net core mvc visual studio HELP !!!
when i create a project in visual studio asp.net core , i have only the name of the solution and the project is not loaded
15 Replies
Angius
https://learn.microsoft.com/en-us/answers/questions/1184941/the-sdk-microsoft-net-sdk-specified-could-not-be-f Check the answer to this question
Quoted by
<@85903769203642368> from #visual studio error loading project asp.net core mvc (click here)
React with ❌ to remove this embed.
Did this not help?
i've tried , but still not working
Show me a screenshot of .NET SDK being enabled in the VS installer
Alternatively, type
dotnet --list-sdks
in the command line and screenshot the output6.0.413 [C:\Program Files\dotnet\sdk]
7.0.400 [C:\Program Files\dotnet\sdk]
And the same exact error about an SDK not being installed still occurs?
I get this error when i try to add existing project , "The sdk "Microsoft .NET .Sdk.web" Specified could not be found
Aight, what's the .NET version required by the project?
It'll be in the
.csproj
filenet6.0
Okay, does it work if you run it with
dotnet run
command?yes it worked
but still missing files vs
Try using
dotnet sln add
to add the project to the solution manually, then open the solution with VS?
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln#addthank you i fixed the issue
Out of curiosity, what did the trick?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.