【问题标题】:Class Library(.Net Core)" not available on visual studio 2017类库(.Net Core)”在 Visual Studio 2017 上不可用
【发布时间】:2017-01-06 08:52:56
【问题描述】:

在 Visual Studio 2015 中添加新项目时,您将获得“类库(.Net Core)”

这个选项似乎在 VS 2017 中不再可用。

如何获得“类库(.Net Standard)”?

【问题讨论】:

标签: visual-studio-2017


【解决方案1】:

您所要做的就是启动 Visual Studio 安装程序,然后在安装 VS 2017 时选择“修改”。

然后选中“.NET Core 和 Docker(预览版)”中的复选框。一旦不再预览,它稍后将被“.NET Core and Docker”取代。

您可以在此处查看说明:VS Dotnet Core Page

安装 .NET Core 工具预览工作负载

确保您安装了工作负载“.NET Core 和 Docker(预览版)”。您可以通过启动 Visual Studio 安装程序来检查和安装工作负载。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-01-31
    • 1970-01-01
    • 2018-09-13
    • 2018-06-21
    • 2018-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多