- Open a terminal window (Applications | Utilities | Terminal).
- Now, in your home directory, type the following command (you might have to create a separate directory for your projects and do the following command):
$ dotnet new sln -o Chapter3.CsvFile
- Now, type the following command to navigate to the newly created solution:
$ cd Chapter3.CsvFile
- Again, type this command to create the .NET Standard 2.0 library project:
$ dotnet new classlib -o Chapter3.CsvFile.CsvReader
- Now let's add this project to our solution by typing this command:
$ dotnet sln add Chapter3.CsvFile.CsvReader/Chapter3.CsvFile.CsvReader.csproj
- Let's open Visual Studio Code and open the current solution directory (File | Open). (Visual Studio ...