Visual Studio 2015 中的 ASP.NET Core 支持吗? [英] ASP.NET Core support in Visual Studio 2015?

查看:25
本文介绍了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 Studio 2017.您可以阅读 .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天全站免登陆