Create a binlog to aid debugging MSBuild tests
Rob Mensching committed
Jan 2, 2022 at 07:53 UTC
009d7ccfdb03e25c23cae95b165fb9f1ad608579
2 files changed
+2
src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs
+1
@@ -397,6 +397,7 @@ namespace WixToolsetTest.Sdk
397
var allowedFiles = new HashSet<string>
398
{
399
"MsiPackage.wixproj",
400
+ "MsiPackage.binlog",
401
"Package.en-us.wxl",
402
"Package.wxs",
403
"PackageComponents.wxs",
src/wix/test/WixToolsetTest.Sdk/MsbuildUtilities.cs
+1
@@ -30,6 +30,7 @@ namespace WixToolsetTest.Sdk
30
// Node reuse means that child msbuild processes can stay around after the build completes.
31
// Under that scenario, the root msbuild does not reliably close its streams which causes us to hang.
32
"-nr:false",
33
+ $"-bl:{Path.ChangeExtension(projectPath, ".binlog")}"
34
};
35
36
if (outOfProc.HasValue)