Unsure as to why this doesn't work.
I have installed dotnet core SDK 3.1 on the server, confirmed that I can build using both Visual Studio 2019 and via the command line.
Ensured that there are no global.json files.
At first it was using the previous 2.x SDKs to build, no matter what.
The error would indicate that due to this SDK being used, it doesn't support 3.1.
After uninstalling all dotnet core 2.x SDKs from the machine, this is the error reported.
Code:
NCrunch: This project was built on server 'dev-01'
Project.csproj (0, 0): The target "Build" does not exist in the project.