Skip to content

Commit

Permalink
Merge pull request #1337 from DustinCampbell/fix-vs-msbuild-discovery
Browse files Browse the repository at this point in the history
Fix VS MSBuild discovery
  • Loading branch information
Ravi Chande committed Nov 14, 2018
2 parents 9592f57 + c52cf79 commit 0496b7e
Showing 1 changed file with 4 additions and 1 deletion.
@@ -1,5 +1,6 @@
using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using Microsoft.Extensions.Logging;
Expand Down Expand Up @@ -68,7 +69,9 @@ public override ImmutableArray<MSBuildInstance> GetInstances()
continue;
}

var toolsPath = FindMSBuildToolsPath(installPath);
var msbuildPath = Path.Combine(installPath, "MSBuild");

var toolsPath = FindMSBuildToolsPath(msbuildPath);
if (toolsPath != null)
{
builder.Add(
Expand Down

0 comments on commit 0496b7e

Please sign in to comment.