Setting up a class library and console application
We will start by defining a workspace with two projects like the one created in Chapter 5, Building Your Own Types with Object-Oriented Programming. If you completed all the exercises in that chapter, then you can open the Chapter05
workspace and continue working with its projects.
Otherwise, follow the instructions given in this section:
- In your existing
Code
folder, create a folder namedChapter06
with two subfolders namedPacktLibrary
andPeopleApp
, as shown in the following hierarchy:Chapter06
PacktLibrary
PeopleApp
- Start Visual Studio Code.
- Navigate to File | Save As Workspace…, enter the name
Chapter06
, and click Save. - Navigate to File | Add Folder to Workspace…, select the
PacktLibrary
folder, and click Add. - Navigate to File | Add Folder to Workspace…, select the
PeopleApp
folder, and...