Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Class Library(.Net Core)" not available on visual studio 2017

In Visual Studio 2015 when adding a new project you would get a "Class Library(.Net Core)"

This option seems to be no longer available in VS 2017.

How do I get "Class Library(.Net Standard)"?

like image 633
developer9969 Avatar asked Jan 06 '17 08:01

developer9969


People also ask

Is .NET core available in VS 2017?

Visual Studio 2017 Support for . Among the workloads and project types, you can find support for . NET Framework, . NET Core, Mono, and . NET Native for Universal Windows Platform (UWP).

How do I add an existing class library in Visual Studio 2017?

Right-click on the solution in Solution Explorer and select Add > New Project. On the Add a new project page, enter library in the search box. Choose C# or Visual Basic from the Language list, and then choose All platforms from the Platform list. Choose the Class Library template, and then choose Next.

How do I create a class library in .NET core?

Let us start by adding a class library project in our Console application; right-click on the src folder in Solution Explorer and select Add → New Project… In the Add New Project dialog box, choose the . NET Core node, then choose the Class Library (. NET Core) project template.


1 Answers

All you have to do is go start the Visual Studio Installer and select the "Modify" at your installation of VS 2017.

Then check the box at ".NET Core and Docker (Preview)". This will later be replaced by ".NET Core and Docker" once it's out of preview.

You can see the instructions here: VS Dotnet Core Page

Install the .NET Core tools preview workload

Make sure you installed the workload ".NET Core and Docker (Preview)". You can check and install workloads by launching the Visual Studio Installer.

like image 101
Mafii Avatar answered Oct 09 '22 16:10

Mafii