I am trying to write a F # script file. Therefore, I use Visual Studio "File-> New-> Files-> F # script File" to create a new fsx file. Now I want to add a link to FSharpData by opening the package manager console and type
Install-Package FSharp.Data
However, I got the following error. Does a solution always need to be created even for an F # script file?
Install-Package: The current environment doesn't have a solution open.
At line: 1 char: 1
+ Install-Package FSharp.Data
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId: NuGetNoActiveSolution, NuGet.PowerShell.Commands.InstallPackageCommand
source share