Browse Source

VS2017 fix for when VS2015 isn't installed

Josh Engebretson 9 years ago
parent
commit
5107bc37f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/ToolCore/NETTools/NETBuildSystem.cpp

+ 1 - 1
Source/ToolCore/NETTools/NETBuildSystem.cpp

@@ -325,7 +325,7 @@ namespace ToolCore
 
             String cmdToolsPath;
 
-            if (toolVersion_ == "VS2017" && vs2017ToolsPath.Length())
+            if (!vs2015ToolsPath.Length() || (toolVersion_ == "VS2017" && vs2017ToolsPath.Length()))
             {
                 cmdToolsPath = vs2017ToolsPath;
             }