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.