- Open the terminal.
- Now in your home directory or any other directory type the following command and press Enter:
$ dotnet new sln -o Chapter3 -n Chapter3.LogFile
- Now, change to the newly created directory, using the following command:
$ cd Chapter3
- Now you are inside the root of your solution. Let's create the .NET Standard library project using the following command:
$ dotnet new classlib -o Chapter3.LogFile.LogLib
- Now that we have created our Class Library Project, let's open the whole solution using Visual Studio Code.
- Type the following command in the terminal and press Enter:
$ code .
- The previous command will open Visual Studio Code in the current directory and the IDE should look like this:
- Now, in ...