Search code examples
c#.net-corevisual-studio-2017.net-core-3.0

Use Visual Studio 2017 with .Net Core SDK 3.0


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:

Visual Studio 2017 with .Net Core SDK 2.0

Visual Studio 2017 with .Net Core SDK 2.1


Solution

  • .In VS 2017: You can just go to the ToolsOptionsProject and Solutions.NET Core and then check Use previews of the .NET Core SDK