Let’s Create, .NET! Project ATM Part 1 – Create the project

So let’s go ahead and create a small console app that acts as an ATM.

First we create the solution folder, solution file, the console app .

mkdir project_ATM
cd project_ATM
dotnet new sln
dotnet new console -o PROJECT_ATM
dotnet sln add PROJECT_ATM

Next create the MSTest project which we’ll use later.

dotnet new MSTest -o PROJECT_ATM_TEST

Add the test project to the solution.

dotnet sln add PROJECT_ATM_TEST

Finally add a reference to the ATM_project inside the test project.

dotnet add reference ..\PROJECT_ATM\PROJECT_ATM.csproj

Awesome! In the next post we’ll write a small test.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: