.Net Core 2.1 templates missing from VS2017

后端 未结 3 1531
北荒
北荒 2021-01-18 02:05

I have VS2017 (15.5.4) Professional already installed and today I installed .Net Core SDK 2.1.4 but I cannot see any Core templates in the New Project dialog in VS.

相关标签:
3条回答
  • 2021-01-18 02:31

    Update Visual Studio to version 15.6.0.

    0 讨论(0)
  • 2021-01-18 02:32

    For any templates: Make sure VS has the necessary components, make sure that the cross platform development workload is installed through the Visual Studio Installer.

    The SDK 2.1.* only contains the 2.0.* runtimes. At the time of writing, there has been no public preview release for .NET Core 2.1.

    You can download 2.2.0 SDK previews from https://github.com/dotnet/cli.

    Note that the naming may change in the near future in order to avoid confusion and keep the SDK and Runtime major and minor versions in sync - see https://github.com/dotnet/designs/pull/29.

    0 讨论(0)
  • 2021-01-18 02:34

    For .NET Core 2.1, you need Visual Studio version 15.7 or higher. (check it from Help menu > About Microsoft Visual Studio). So, first ensure you have update your visual studio.

    Now, to add .NET Core 2.1 (or other newer templates) to visual studio, you need to install the Latest .Net Core SDK from here.

    0 讨论(0)
提交回复
热议问题