Browse Source

Latest version of VS first

pull/1522/head
Oren Novotny 6 years ago
parent
commit
366e0dbfe3
Failed to extract signature
  1. 3
      ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs

3
ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs

@ -193,7 +193,8 @@ namespace ICSharpCode.Decompiler.Tests @@ -193,7 +193,8 @@ namespace ICSharpCode.Decompiler.Tests
static string FindMSBuild()
{
string vsPath = MSBuildLocator.QueryVisualStudioInstances(new VisualStudioInstanceQueryOptions { DiscoveryTypes = DiscoveryType.VisualStudioSetup })
string vsPath = MSBuildLocator.QueryVisualStudioInstances(new VisualStudioInstanceQueryOptions { DiscoveryTypes = DiscoveryType.VisualStudioSetup })
.OrderByDescending(i => i.Version)
.FirstOrDefault()
?.MSBuildPath;
if (vsPath == null)

Loading…
Cancel
Save