Skip to content

Commit

Permalink
add the same non-windows msbuild check that we do for fsc and fsi (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel authored and Krzysztof-Cieslak committed Sep 5, 2018
1 parent 8e96d98 commit e813c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FsAutoComplete.Core/Environment.fs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module Environment =
|> List.map (fun (version, sku) -> programFilesX86 </> "Microsoft Visual Studio" </> version </> sku)

let msbuild =
if Utils.runningOnMono then "msbuild" // we're way past 5.0 now, time to get updated
if Utils.runningOnMono || not Utils.isWindows then "msbuild" // we're way past 5.0 now, time to get updated
else
let legacyPaths =
[ programFilesX86 </> @"\MSBuild\14.0\Bin"
Expand Down

0 comments on commit e813c08

Please sign in to comment.