fsprojects / IfSharp

F# for Jupyter Notebooks
Other
440 stars 71 forks source link

dotnet core not generating "Paket.Generated.Refs.fsx" #232

Closed rudihorn closed 5 years ago

rudihorn commented 5 years ago

Description

If I understand the sample correctly, using Paket.Package should generate a file called Paket.Generated.Refs.fsx, which is then loaded using #load "Paket.Generated.Refs.fsx. I could not find this file.

Repro steps

Taken from the sample:

#load "Paket.fsx"
Paket.Package ["Angara.Table"; "Angara.Statistics"]
#load "Paket.Generated.Refs.fsx"

Expected behavior

No error message.

Actual behavior

Unable to find the file 'Paket.Generated.Refs.fsx' in any of /home/jupyter/IfSharp/src/IfSharpNetCore/bin/release/netcoreapp2.2 /home/jupyter/jupyter-data

Known workarounds

Load packages using explicit path, e.g.

#load ".paket/load/netstandard2.0/Angara.Table.fsx"
#load ".paket/load/netstandard2.0/Angara.Charting.fsx"

Related information

cgravill commented 5 years ago

Just fixed and pushed, it wasn't set to copy in this version.

rudihorn commented 5 years ago

Thanks!