April 01, 2024, Abdush Miah
Prefer to watch instead? Click below to watch the steps instead:
Launch your terminal and create your solution
dotnet new sln -o MyAmazingProject
Change directory into your newly created folder e.g:
cd MyAmazingProject
Now inside of your solution create a new class library project
dotnet new classlib -o MyAmazingProject.DataAccess
Now inside of your solution create a new console application project
dotnet new console -o MyAmazingProject.ConsoleApp
Next add/associate those new projects with your solution using the below command:
dotnet sln MyAmazingProject.sln add ./MyAmazingProject.ConsoleApp