Been tearing my hair out over this all day but can't seem to resolve. Came back to work from vacation to our build server being unable to build any of its configurations. The server that the installation is on was upgraded to Windows 2012 R2 recently ( not sure if that impacts anything ). I have a number of projects which run multiple build configuration steps but all are now failing with the same code -2147010893. The build log doesn't tell me anything besides that code
Step 1/13: Test (Visual Studio (sln))
[Step 1/13] Starting: D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\MSBuild.exe"
[Step 1/13] in directory: D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon
[Step 1/13] Process exited with code -2147010893
[Step 1/13] Process exited with code -2147010893 (Step: Test (Visual Studio (sln)))
[Step 1/13] Step Test (Visual Studio (sln)) failed
The server used to only have the build tools on but I installed VS 2019 community as well in an attempt to track down any missing DLLs or SDKs ( which is what someone referred to in a post could be the issue ). I've drilled down to the build-agent log and it gives the same detail, no extent of googling can seem to tell me exactly what the code means. If I run MSBuild manually in the agent's directories, I can build the various projects as well as opening the projects and building with the local vs community edition as well so it doesn't seem to be environmental to the machine. Other build steps such as the Nuget package retrievers etc all work fine so the team city flows seem fine.
Anyone got any ideas or hints to a more detailed log?