dotnet fsi file package source reference not working with relative path #i
#i """ /some/relative/path/containing/nuget/packages"""
#r "nuget: Some.Package"
Expected
i can load the package from a relative folder in my directory, e.g. in a project to test from a script if the package behaves consistently
Actual
without specifying the full filesytem absolute path i cannot load the package in the script
- Operating system: MacOS (might have the same issue on windows)
- NET6
- vscode + ionide or vs for mac
@jkone27 hmmm!!!! I thought it was supposed to work. I will take care of fixing it some time.
You need #i "nuget: ...", see https://docs.microsoft.com/en-us/dotnet/fsharp/tools/fsharp-interactive/#specifying-a-package-source
I'll reopen as I think the thing is specifically about relative paths. But we need a correct repro for this please
Adding "needs design" label as per https://github.com/dotnet/fsharp/pull/16209#issuecomment-1793019675