dotnet / dotnet/fsharp

Send References to F# interactive is pretty much useless now.

Open
#15,641 0 comments 3 reactions 0 assignees View on GitHub
Area-VS-FSI Feature Request
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

We were chatting about using scripts alongside projects in VS, and it was pointed out that we have that completely solved already with send references to fsi.

![image](https://github.com/dotnet/fsharp/assets/5175830/c6fd6d56-5abf-4064-90b2-943981304d5e)

So when we tried to find it, we failed completely ... it turns out that SendReferences to FSI, only exists for old style Visual Studio F# projects, dotnet sdk projects, which has been the default for at least 6 years do not have support for it at all.

So ... we need support for something like this ... C# interactive desktop projects have
Initialize Interactive With Project
![image](https://github.com/dotnet/fsharp/assets/5175830/64966c1b-37e8-4501-9ef0-d910a89528d6)
Which does this:
![image](https://github.com/dotnet/fsharp/assets/5175830/fa5e9c26-25a3-4031-a49e-04a705f7d01d)

It seems to me that what C#/CSI does is the best, it sends all of the references and the project output. F# interactive has 2 settings, send references and send individual reference, which seems like a complication without any particular benefit.
Neither fsi or csi support send reference from dotnet sdk projects.

Anyway ... we should figure out something to do, to reconnect fsi to the ide.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.