How it works...

In steps 1 to 4, we navigated to the previously built .NET Standard 2.0 library. Using the macOS terminal we reached the root of that solution. Also, we have created a new .NET Standard 2.0 library. When you create a library project in .NET Core 2.0, by default it chooses .NET Standard 2.0 as the template. So we don't worry about telling the command-line tool to create the library as .NET Standard 2.0 library.

In step 5, we added the newly created project to our solution and performed a build to check that everything was fine. In steps 6 to 9, we opened the current directory using Visual Studio Code and then, in steps 9 to 12, we created a sample text file with comma separated values for testing purposes. In step 14, we added ...

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.