Visual Studio 2015是否支持ASP.NET Core? [英] ASP.NET Core support in Visual Studio 2015?

查看:427
本文介绍了Visual Studio 2015是否支持ASP.NET Core?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在ASP.NET Core随VS 2017一起提供(将于3月发布),它们在VS 2015中将支持ASP.NET Core多长时间?



我的意思是将不再使用project.json,那么我们是否需要将现有项目移至VS 2017,并且不要使用VS 2015与ASP.NET Core一起使用。

解决方案

Visual Studio 2015将仅支持.NET Core< = 1.1(即project.json)。如果您希望使用基于.csproj的.NET Core项目,则需要使用Visual Studio2017。您可以阅读有关.NET Core路线图的信息


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.

解决方案

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:

这篇关于Visual Studio 2015是否支持ASP.NET Core?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆