How Can I open .Net Core 3.0
project in Visual Studio 2017?
I have downloaded the .NET Core 3.0 SDK from dotnet.microsoft.com and created new project with dotnet new
command in a folder.
Building C# project shows error:
The current .NET SDK does not support targeting .NET Core 3.0. Either
target .NET Core 2.1 or lower, or use a version of the .NET SDK that
supports .NET Core 3.0.
I checked it but it doesn't work in my case:
Best Answer
Unfortunately .NET Core 3 requires MSBuild 16. Even if you enable preview versions of .NET Core in VS 2017 as others have suggested you will still get the error:
If you create a
global.json
file and put in eg.You then get shown the real problem which is:
MSBuild 16 only comes with VS 2019, so, the answer is that you CAN use VS 2017 with .NET Core 3, but only if you also have VS 2019 installed as well!