aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-07 15:48:36 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-07 20:18:25 +1000
commit6a08e97de12e6f091d0ff77dcad5d1660c807e19 (patch)
treeb23dacde6b1572c219595f97afe7ac8a8f07b67f /src
parent68d05e118dbe92895b7090428a6d6d0040177c4d (diff)
downloadwix-6a08e97de12e6f091d0ff77dcad5d1660c807e19.tar.gz
wix-6a08e97de12e6f091d0ff77dcad5d1660c807e19.tar.bz2
wix-6a08e97de12e6f091d0ff77dcad5d1660c807e19.zip
Fix bug in finding MSBuild.
Diffstat (limited to 'src')
-rw-r--r--src/WixBuildTools.TestSupport/MsbuildRunner.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixBuildTools.TestSupport/MsbuildRunner.cs b/src/WixBuildTools.TestSupport/MsbuildRunner.cs
index 953ed654..97e49d6f 100644
--- a/src/WixBuildTools.TestSupport/MsbuildRunner.cs
+++ b/src/WixBuildTools.TestSupport/MsbuildRunner.cs
@@ -65,7 +65,7 @@ namespace WixBuildTools.TestSupport
65 } 65 }
66 } 66 }
67 67
68 var msbuildPath = Msbuild15Path ?? Msbuild16Path; 68 var msbuildPath = !String.IsNullOrEmpty(Msbuild15Path) ? Msbuild15Path : Msbuild16Path;
69 69
70 if (msbuildVersion == "15") 70 if (msbuildVersion == "15")
71 { 71 {