Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Core support in Visual Studio 2015?

Now that ASP.NET Core is shipped with VS 2017(getting released on March), How long will they support ASP.NET Core in VS 2015?

I mean project.json will no longer be used, then do we need to move existing projects to VS 2017 and dont use VS 2015 to work with ASP.NET Core.

like image 503
Mithun Pattankar Avatar asked Feb 20 '17 05:02

Mithun Pattankar


People also ask

Does VS 2015 support .NET Core?

Visual Studio 2015 will only support . NET Core <= 1.1 (ie. project. json).

What version of Visual Studio do I need for .NET Core?

Visual Studio 2017 supports . NET Core 2.1, whereas Visual Studio 2019 supports both the versions. You can use your favorite IDE, such as Visual Studio, Visual Studio Code, Sublime Text, etc. to develop, restore, build, and run . NET Core application.

Can I use .NET Core in Visual Studio 2013?

Yes, it's possible to build against the . NET Core 5 contracts in Visual Studio 2013 by creating a Portable Class Library that targets . NET Framework 4.5 and Windows 8.

What .NET version is Visual Studio 2015?

NET 4.5. 2. See Application Compatibility in the .


1 Answers

Visual Studio 2015 will only support .NET Core <= 1.1 (ie. project.json). If you wish to use .csproj based .NET Core projects you will need to use Visual Studio 2017. You can read about the .NET Core Roadmap here.

You can stick with project.json and Visual Studio 2015. But if you want to move to .NET Core 2.0 you will need to open your project with Visual Studio 2017 which can migrate it to the new .csproj format. You can read about the migration process in this blog post.

Visual Studio 2017 will also provide stable RTM tooling for .NET Core 1.0 (note that the tooling in Visual Studio 2015 is only in preview). There is another interesting blog post here which discusses the move to the new project format, Joe Morris from Microsoft confirms there are no plans to have VS 2015 support the build/project system.

Update

With the release of Visual Studio 2019, the latest .NET Core SDKs are not supported in Visual Studio 2015 or 2017. Here is the compatibility matrix:

Compatibility Matrix

like image 135
Alex Wiese Avatar answered Sep 22 '22 14:09

Alex Wiese