.NET Core 2.0 missing from my Visual Studio
Please make sure you use Visual Studio 2017 Update 3 (version 15.3, 26730.01): Help
-> About Microsoft Visual Studio
You may need to add "%USERPROFILE%\.dotnet\"
to your PATH. The Entity Framework Core project mentions it.
Ah!
I had the following global.json
in the root of my solution:
{
"projects": [ "src", "tests" ],
"sdk": {
"version": "1.0.4"
}
}
So I had to change the version from 1.0.4
to 2.0.0
and then close/re-open the solution.
Problem solved :)
In my case this was caused by another executable called "dotnet.exe" that was in my path before the one from the SDK. It seems that VS doesn't deal with this well.