Browse Source

Fixed forum-9732: exception opening F# interactive pad.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4463 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 16 years ago
parent
commit
db8acb32fd
  1. 3
      src/AddIns/BackendBindings/FSharp/FSharpBinding/Project/Src/fsi.fs

3
src/AddIns/BackendBindings/FSharp/FSharpBinding/Project/Src/fsi.fs

@ -64,7 +64,8 @@ module TheControl = @@ -64,7 +64,8 @@ module TheControl =
let possibleFiles =
fsdirs |> Array.choose
(fun x ->
let fileInfo = new FileInfo(Path.Combine(x, "bin\fsi.exe"))
LoggingService.Debug("Trying to find fsi in '" + x + "'")
let fileInfo = new FileInfo(Path.Combine(x, "bin\\fsi.exe"))
if fileInfo.Exists then
Some fileInfo
else

Loading…
Cancel
Save