We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b928931 commit 64d797bCopy full SHA for 64d797b
src/ProjectTemplates/Shared/Project.cs
@@ -443,7 +443,7 @@ private void CaptureBinLogOnFailure(ProcessEx result)
443
var sourceFile = Path.Combine(TemplateOutputDir, "msbuild.binlog");
444
Assert.True(File.Exists(sourceFile), $"Log for '{ProjectName}' not found in '{sourceFile}'.");
445
var destination = Path.Combine(ArtifactsLogDir, ProjectName + ".binlog");
446
- File.Move(sourceFile, destination);
+ File.Move(sourceFile, destination, overwrite: true); // binlog will exist on retries
447
}
448
449
0 commit comments