How do I actually create a .NET Core project in Visual Studio?

.NET Core templates are available in Visual Studio 2017. When installing VS2017, you have to pick the “.NET Core cross-platform development” workload. Once you do, you’ll have access to the templates:

  1. Click File – New Project.
  2. Expand Visual C# – .NET Core on the left side.
  3. Pick one of the templates.

.NET Core templates in Visual Studio 2017


If you’re on Visual Studio 2015, make sure you install Update 3 (or later) and the .NET Core SDK. Then the templates will show up in New Project:

New .NET Core Project in Visual Studio 2015


It’s also possible to scaffold new applications on the command line, using either dotnet new (included with the .NET Core SDK), or yo aspnet:

# Create a new console app
dotnet new

# Create a new web (ASP.NET Core) application
dotnet new -t web

# Use generator-aspnet via yeoman
yo aspnet

Leave a Comment