File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -721,14 +721,14 @@ module internal Targets =
721
721
| _ -> failwith ( sprintf " unimplemented profile '%s '" profile)
722
722
723
723
let FSharpCoreRef fsharp profile =
724
+ let restoredFSharpCore = fsharpRestoredAssembliesPath fsharp profile
725
+ match restoredFSharpCore with
726
+ | path when File.Exists restoredFSharpCore -> path
727
+ | _ ->
724
728
let installedFSharpCore = fsharpCoreFromInstalledAssemblies fsharp profile
725
729
match installedFSharpCore with
726
730
| Some path when File.Exists path -> path
727
731
| _ ->
728
- let restoredFSharpCore = fsharpRestoredAssembliesPath fsharp profile
729
- match restoredFSharpCore with
730
- | path when File.Exists( restoredFSharpCore) -> path
731
- | _ ->
732
732
match installedFSharpCore with
733
733
| Some path -> failwith ( " couldn't find FSharp.Core.dll at either '" + path + " ' or '" + restoredFSharpCore + " '" )
734
734
| None -> failwith ( " couldn't find FSharp.Core.dll at '" + restoredFSharpCore + " '" )
You can’t perform that action at this time.
0 commit comments