Open clumnah opened 1 year ago
Did you clear your NuGet package cache at some point? This looks like a bug that @KevinRansom just fixed and if it is, you can work around it by deleting this folder: C:\Users\chris.lumnah.perf.packagemanagement.
I deleted the folder you mentioned above but i still received this error.
[Error: C:\Users\chris.lumnah.perf\.packagemanagement\nuget\Projects\4360--e6851505-77d6-406a-9244-64529f9c6639\Project.fsproj : error NU1101: Unable to find package Microsoft.DotNet.Interactive.SqlServer. No packages exist with this id in source(s): C:\Program Files\dotnet\sdk\6.0.403\FSharp\library-packs](url)
It looks like you don't have the main NuGet.org package source enabled. Can you look at %appdata%\NuGet\NuGet.Config
? It should look something like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
Describe the bug
I have tried this on Windows 11 and MacOS Ventura and the results are similar. I am using a .Net Interactive notebook that i wrote several months ago. I wanted to update it. When I run the initial command of
#r "nuget:Microsoft.DotNet.Interactive.SqlServer,*-*"
It will fail with the below on MacOSOn Windows 11, it will fail with the below
Error: C:\Users\chris.lumnah.perf\.packagemanagement\nuget\Projects\8988--91204698-c34b-4d2f-a863-51ea2ec99ae4\Project.fsproj : error NU1101: Unable to find package Microsoft.DotNet.Interactive.SqlServer. No packages exist with this id in source(s): C:\Program Files\dotnet\sdk\6.0.403\FSharp\library-packs
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ):Screenshots
If applicable, add screenshots to help explain your problem.