A .NET console application to use the library
In this recipe we are going to do two things. First, we will be opening Visual Studio and doing a quick build of the previously built solution for the .NET Standard 2.0 library. Finally, we will be adding a .NET console application to use the library. This console application will be using .NET Framework 4.6.1 as the base framework under Windows.
Getting ready
Make sure you have completed the previous recipe that builds the .NET Standard 2.0 library. We will be using it in this recipe. Open Visual Studio 2017 and prepare for the project. Click Build
| Build Solution
, or press Ctrl + Shift + B, and the solution should build successfully. Everything's ready for testing our class library.
How to do it...
- Open Visual Studio 2017.
- Now open the solution from the previous recipe. Click
File
|Open
|Open Project/Solution
, or press Ctrl + Shift + O, and select theChapter2.Primitives
solution. - Now click on the
Chapter2.Library
solution label. ClickFile...