0

I know that I can use #r <pkg> but without a directory to hold a project where should I install /keep the dependencies?

I mean, if I'm using F# I can dotnet add package <pkg> from the project folder but with .fsx I was expecting to not have a "project folder", how to install packages then?

geckos
  • 5,687
  • 1
  • 41
  • 53

1 Answers1

2

You don't have to worry about downloading and storing the packages somewhere, you can make the interpreter take care of that for you by referencing Nuget packages, not files on your local system. This would look something like this:

#r "nuget: <pkg>"

open Package.Whatever

...
Fyodor Soikin
  • 78,590
  • 9
  • 125
  • 172