Bug 8049 - Installed F# plugin through the Add-in Manager but got "[...] No path to F# Interactive console set[...]"
Summary: Installed F# plugin through the Add-in Manager but got "[...] No path to F# ...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: F# Add-in ()
Version: 3.0.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Dave Thomas
URL:
Depends on:
Blocks:
 
Reported: 2012-10-29 17:24 UTC by funkyworklehead
Modified: 2014-03-19 11:55 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description funkyworklehead 2012-10-29 17:24:31 UTC
On Monodevelop 3.0.4.7, which I downloaded and installed today, I immediately tried to install the F# plugin through by doing:

    Tools->Add-in Manager->Gallery->"F#"->enter

The plugin seems to install, but then I get a popup error with these details:

System.Exception: No path to F# Interactive console set, and default could not be located.

Server stack trace: 
   at Microsoft.FSharp.Core.Operators.Raise[T](Exception exn)
   at MonoDevelop.FSharp.InteractiveSession..ctor()
   at MonoDevelop.FSharp.FSharpInteractivePad.setupSession()
   at MonoDevelop.FSharp.FSharpInteractivePad.session()
   at <StartupCode$FSharpBinding>.$FSharpInteractivePad.-ctor@46-19.Invoke(Unit arg10@)
   at System.Lazy`1.CreateValue()

Exception rethrown at [0]: 
   at Microsoft.FSharp.Core.Operators.Raise[T](Exception exn)
   at MonoDevelop.FSharp.InteractiveSession..ctor()
   at MonoDevelop.FSharp.FSharpInteractivePad.setupSession()
   at MonoDevelop.FSharp.FSharpInteractivePad.session()
   at <StartupCode$FSharpBinding>.$FSharpInteractivePad.-ctor@46-19.Invoke(Unit arg10@)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Microsoft.FSharp.Control.LazyExtensions.Force[T](Lazy`1 )
   at MonoDevelop.FSharp.FSharpInteractivePad..ctor()
   at MonoDevelop.FSharp.FSharpInteractivePad.get_CurrentPad()
   at MonoDevelop.FSharp.FSharpInteractivePad.get_CurrentFsi()
   at MonoDevelop.FSharp.SendSelection.Update(CommandInfo info)
   at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate(CommandInfo info)
   at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo(ActionCommand cmd, CommandInfo info)
   at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object commandId, CommandTargetRoute targetRoute)

The plugin seems to have been downloaded.  I see files in C:\Users\<user>\AppData\Local\MonoDevelop-3.0\LocalInstall\Addins\MonoDevelop.FSharpBinding.3.2.1

I am inside a corporate environment that requires all external traffic to go through a proxy server, but the add-in manager seemed to download just fine.
Comment 1 Dave Thomas 2014-03-07 05:11:06 UTC
Have you installed F# on your Windows machine?

Installing F# is a prerequisite for using the F# addin 

See http://fsharp.org/use/windows/ for details on installing F# on Windows.
Comment 2 Dave Thomas 2014-03-19 11:54:28 UTC
This was a recent regression with the arrival of F# 3.1, this has now been fixed in the next version of the F# addin (v3.2.29).  It will now work with F# installations from 2.0, 3.0, and 3.1 on Windows.