How it works...

In the first step, we opened the terminal window in the Ubuntu system. This terminal is similar to the command window you use in Windows operating systems. A terminal helps you to execute shell commands supported by the .NET Core 2.0. In step 2, we created a blank solution. The dotnet new command creates a new solution file containing directories. In step 3, we changed the directory to the root of the solution file. From this point onwards, we will be adding the projects to the solution.

In step 4, we used the same dotnet new command to create the class library. By default, this class library will use the .NET Standard 2.0 library, so we don't have to tell the command-line tool to create the .NET Standard 2.0 library. We can ...

Get .NET Standard 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.