SharpDevelop, F#, missing “Send to F# Interactive” context menu

Explains why SharpDevelop may not show the 'Send to F# Interactive' command for F# script files and how adding the FSX file to an F# project enables it

Situation, Problem

During playing a little bit with these WPF MVC F# projects inside SharpDevelop I stumbled over the situation, that I could not send F# snippets to the interactive window. The menu was not available.

Normally it looks like this:

Screenshot for SharpDevelop, F#, missing “Send to F# Interactive” context menu

Solution

If you would like to use the context menu Send to F# Interactive inside SharpDevelop during fsx developing, you have to ensure that this fsx file is part of an F# project!

fsx only as a solution item

no context menu Send to F# Interactive

image

fsx as a F# project item

context menu _Send to F# Interactive”_is available

image