NuGet repository source include via #i directive not working
See original GitHub issueDescribe the bug
While working with local packages (on disk) and packages on MyGet the #i "nuget: <path-to-source>"
directive stopped working for me after an Update of the VSCode .NET Interactive plugin.
This is the error message I’m getting. This would be a standard NuGet error for not finding a package in any configured sources.
After adding the source via the CLI and restarting the Kernel the error goes away (as expected). It doesn’t show the source added via the directive in the output (this behavior was different in earlier releases).
For easier copy-pasting the code block in the screenshots can be found here.
#r "nuget: Ply, 0.3.1"
#r "nuget: Deedle, 2.4.2"
#r "nuget: FSharp.SystemTextJson, 0.17.4"
#r "nuget: Plotly.NET, 2.0.0-preview.7"
#r "nuget: Plotly.NET.Interactive, 2.0.0-preview.7"
#r "nuget: Spectrogram, 1.3.0"
#r "nuget: SixLabors.ImageSharp, 1.0.3"
#r "nuget: FSharp.Stats, 0.4.2"
#r "nuget: MathNet.Numerics.FSharp, 4.15.0"
#r "nuget: MathNet.Filtering, 0.7.0"
#i "nuget:https://www.myget.org/F/gregs-experimental-packages/api/v3/index.json"
#r "nuget: Deedle.DotNet.Interactive.Extension,0.1.0-alpha7"
Please complete the following:
Which version of .NET Interactive are you using?
1.0.245901+0512fe0a05f5a99419a543463ee68233a3c60371
- OS
- Windows 10
- macOS
- Linux (CentOS 7.8.2003)
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Visual Studio Code Insiders
- Other (please specify)
Screenshots
Error with #!about
directive output
CentOS system and SDK info (Windows 10 SDK is the latest SDK as of writing this)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
@brettfo is doing it now
I was able to repro this and repros only in F#, looking into it