-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Labels
Area-FSIArea-VS-FSIVS window and commands for F# InteractiveVS window and commands for F# InteractiveBug
Milestone
Description
I'm just starting to use FSI package maangement and noticed a few things. I'll use this issue to document oddities or bugs as I notice them.
Delayed feedback on executing #r "nuget..."
-
run
dotnet artifacts\bin\fsi\Debug\netcoreapp3.0\fsi.exe /langversion:preview -
Type
#r "nuget: FSharp.Data";;
Expected: some kind of feedback
Actual: the feedback comes after your next non-nuget interaction, e.g. type 1+1;; and then you get a project loaded.
I think we could print FSharp.Data registered for nuget processing or something. Just so you know something happened.
Syntax differences with fsi and notebooks
In .NET Interactive Jupyter notebooks I do this for extra package sources:
#i "nuget: https://donsyme.pkgs.visualstudio.com/TorchSharp/_packaging/packages2/nuget/v3/index.json"
#r "nuget:libtorch-cpu,0.3.52118"
#r "nuget:TorchSharp,0.3.52118"but in F# Interactive I do this:
#r "nuget:RestoreSources=https://donsyme.pkgs.visualstudio.com/TorchSharp/_packaging/packages2/nuget/v3/index.json"
#r "nuget:libtorch-cpu,0.3.52118"
#r "nuget:TorchSharp,0.3.52118"Why the difference in the first line?
Native DLL not found
See this error: dotnet/interactive#464
Metadata
Metadata
Assignees
Labels
Area-FSIArea-VS-FSIVS window and commands for F# InteractiveVS window and commands for F# InteractiveBug