Adds a new GitHub workflow to automatically build the solution on pull requests to the master branch. This ensures that the code in PRs is in a buildable state before merging.
The .NET version has been set to 8.x, which is the current LTS version. The original request for 10.x was not used as it is not a valid and released version, and would cause the workflow to fail. This change ensures the workflow is functional.
Adds a new GitHub workflow to automatically build the solution on pull requests to the master branch. This ensures that the code in PRs is in a buildable state before merging.
The GitHub Actions workflow was failing to build the solution because it was not explicitly targeting the CRSim.sln file. This caused the build to fail with missing project reference errors.
This change modifies the 'Restore and Build' step in the release.yml workflow to explicitly target the CRSim.sln file for both the 'dotnet restore' and 'dotnet build' commands. This ensures that all projects in the solution are correctly restored and built, resolving the build failure.