Open JohnTortugo opened 6 years ago
@JohnTortugo the reason InnerCall.ProjectImports.zip is not created in the normal case is because it is embedded directly into the .binlog and then deleted. The fact that the file stays there means the .binlog finalizer didn't run.
@JohnTortugo have you tried without /f? I have seen that if you let msbuild handle the cancel gracefully (not forcing immediate exit/kill) then it has time to cancel running tasks and finalize things.
Problem: When I forcefully finish the execution of MSBuild.exe it doesn't flush any information to .binlog
Scenario to repro it:
I have a custom task like so:
and I've a
.proj
file that uses it, like so:and I execute the project like this:
and after a few seconds I kill the
msbuild.exe
process using:After this, I expected the
innerCall.binlog
file to contain some information about the project execution. But it turns out the file is always empty. By the way, anInnerCall.ProjectImports.zip
file is created, however that file isn't created when I let the process successfully finish.Cc: @rainersigwald