Feature: Make Nuget resolve FsLexYacc Rutime in .fsx files
The files hello/hello.fsx
and calculator/calculator.fsx
currently loads the FsLexYacc runtime by evaluating a path.
Why is this a problem?
The user must copy a folder from the <user-home-dir>/.nuget
-folder into a project folder. This results in a bloaded project folder and awkward work flow.
The solution
In stead of loading the runtime using
#r "FsLexYacc.Runtime.10.0.0/lib/net46/FsLexYacc.Runtime.dll"
Nuget can be leveraged directly from the .fsx
script using
#r "nuget: FsLexYacc"
in stead.
Edit 1 The Nuget-command above loads the entire FsLexYacc. I assume this is fine since this library is already downloaded on the computer and thus Nuget just needs to load it. But it might be better to just load the runtime with:
#r "nuget: FsLexYacc.Runtime"