Fix bug in finding MSBuild.
Sean Hall committed
Apr 7, 2020 at 15:48 UTC
6a08e97de12e6f091d0ff77dcad5d1660c807e19
1 file changed
+1
-1
src/WixBuildTools.TestSupport/MsbuildRunner.cs
+1
-1
@@ -65,7 +65,7 @@ namespace WixBuildTools.TestSupport
65
}
66
}
67
68
- var msbuildPath = Msbuild15Path ?? Msbuild16Path;
68
+ var msbuildPath = !String.IsNullOrEmpty(Msbuild15Path) ? Msbuild15Path : Msbuild16Path;
69
70
if (msbuildVersion == "15")
71
{