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)"?
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).
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With