Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 2.02 KB

README.md

File metadata and controls

81 lines (55 loc) · 2.02 KB

CrossplatformLabs Project

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.

Prerequisites

Before you begin, ensure you have the .NET SDK installed on your machine.

Building and Running Labs

Building a Specific Lab

To build a specific lab, follow these steps:

  1. Open Terminal: Navigate to the root directory of the CrossplatformLabs project.

  2. 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
  3. Monitor Output: Observe the terminal for any errors or warnings during the build process.

Running Unit Tests for a Specific Lab

To run the unit tests for a specific lab:

  1. Open Terminal: Navigate to the root directory of the CrossplatformLabs project.

  2. 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
  3. Monitor Output: Watch the terminal for the results of the unit tests.

Running a Specific Lab Console Application

To run a specific lab’s console application:

  1. Open Terminal: Navigate to the root directory of the CrossplatformLabs project.

  2. 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