Generate F# and C# include scripts that reference installed packages in a interactive environment like F# Interactive or ScriptCS.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
If you add the
--verbose flag Paket will run in verbose mode and show detailed information.
--log-file [path] you can trace the logged information into a file.
It is possible to generate load scripts for all registered NuGet packages
defined in the
This will create
.fsx scripts under
files can now be loaded in your scripts without having to bother with the list
and order of all dependencies for given package.
This command only works after packages have been restored. Please run
paket restorebefore using
paket installif you just changed your
This command was called
generate-include-scriptsin Paket 3.x and used to put files under
Alternatively, load scripts can be generated automatically while running the
paket install command.
To enable this feature, add the
generate_load_scripts option to the
1: 2: 3: 4:
Consider the following
1: 2: 3:
Now we run
paket install to install the package.
Then we run
paket generate-load-scripts --framework net45 to generate include
.fsx script file you can now use
1: 2: 3: