How it works...

In steps 1 to 4, we opened the existing solution with the library we built in the previous recipe. In steps 5 to 9, we added a classic Windows project to the solution. We have assigned proper names to the project to keep consistency and readability. In steps 10 to 15, we changed the name of the Windows form and then added necessary controls to the form. At the end, we changed the properties of those controls. 

In steps 18 to 21, we added a reference to the project that contains the library. This is a mandatory step, or else we won't be able to access the library functionality from our Windows application. Now, in step 23, we added the reference to a library project from the code level. This step will allow you to access all ...

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.