This project consists of multiple labs, each with its own console application and unit tests. Follow the instructions below to build, test, and run the labs.
Before you begin, ensure you have the .NET SDK installed on your machine.
To build a specific lab, follow these steps:
-
Open Terminal: Navigate to the root directory of the
CrossplatformLabs
project. -
Run Build Command:
-
To build Lab1:
dotnet build Build.proj -p:Solution=Lab1 -t:Build
-
To build Lab2:
dotnet build Build.proj -p:Solution=Lab2 -t:Build
-
To build Lab3:
dotnet build Build.proj -p:Solution=Lab3 -t:Build
-
-
Monitor Output: Observe the terminal for any errors or warnings during the build process.
To run the unit tests for a specific lab:
-
Open Terminal: Navigate to the root directory of the
CrossplatformLabs
project. -
Run Test Command:
-
To test Lab1:
dotnet build Build.proj -p:Solution=Lab1 -t:Test
-
To test Lab2:
dotnet build Build.proj -p:Solution=Lab2 -t:Test
-
To test Lab3:
dotnet build Build.proj -p:Solution=Lab3 -t:Test
-
-
Monitor Output: Watch the terminal for the results of the unit tests.
To run a specific lab’s console application:
-
Open Terminal: Navigate to the root directory of the
CrossplatformLabs
project. -
Run the Application Command:
-
To run Lab1:
dotnet build Build.proj -p:Solution=Lab1 -t:Run
-
To run Lab2:
dotnet build Build.proj -p:Solution=Lab2 -t:Run
-
To run Lab3:
dotnet build Build.proj -p:Solution=Lab3 -t:Run
-