Process exited with code -2146232576
I'm having an issue when building with MSBuild 2017
It doesn't give me much to go on unfortunately
(i have set verbosity to diag, but this is all it gives me)
[16:34:11]Step 5/10: Build Solution and Package (MSBuild 2017) (MSBuild) (1s)
[16:34:11][Step 5/10] Starting: C:\Teamcity\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\Teamcity\work\374590e286a26b9b "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\amd64\MSBuild.exe"
[16:34:11][Step 5/10] in directory: D:\Teamcity\work\374590e286a26b9b
[16:34:12][Step 5/10] Process exited with code -2146232576
[16:34:12][Step 5/10] MSBuild output
[16:34:12][MSBuild output] Start MSBuild...
[16:34:12][MSBuild output] 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\amd64\MSBuild.exe' '"@D:\Teamcity\work\374590e286a26b9b\Solutions\Customer.Contracts.sln.teamcity.msbuild.tcargs" D:\Teamcity\work\374590e286a26b9b\Solutions\Customer.Contracts.sln.teamcity'
[16:34:12][MSBuild output] working dir = 'D:\Teamcity\work\374590e286a26b9b'
[16:34:19][Step 5/10] Process exited with code -2146232576
[16:34:12][Step 5/10] Step Build Solution and Package (MSBuild 2017) (MSBuild) failed
Please sign in to leave a comment.
Hi Alex,
I have found this with that exact error code: https://stackoverflow.com/questions/10511661/visual-studio-2010-error-code-2146232576-0x80131700
Does this compile on the dev machine? If so, could you check this? https://confluence.jetbrains.com/display/TCD10/Common+Problems#CommonProblems-BuildworkslocallybutfailsormisbehavesinTeamCity
Compiles locally, no problem.
Issue was actually due to sdk (net core) not being installed on the build agent
Still having a few issues, but installing the SDK has got over this generic error