Open kkbruce opened 3 years ago
That is a public feed, so I'm surprised you'd see a 401. Maybe this is a transitive issue. Are you still seeing it?
If so, maybe there's actually a different feed returning the 401. Could you run dotnet nuget list source
in C:\Users\BruceChen\AppData\Local
and see what other feeds are being polled?
@KevinRansom, other ideas?
Yes, we also have several Azure Artifacts internal feeds, which need to be used through certificate verification. But at the moment, because of this problem ( https://github.com/dotnet/interactive/issues/1412 ), I can't do other tests.
My question is, how to do a non-public Azure Artifacts feeds restore in Notebook?
You can put a Personal Access Token to the feed into your user-level NuGet.config.
We plan to add support for NuGet.config files in the notebook's parent folder hierarchy eventually as well.
Any updates on this?
@SeriousM, updates on which part?
It's not clear to me that there's a bug here, just that it's very easy to have NuGet configurations that don't work.
Describe the bug
Like https://github.com/dotnet/interactive/issues/1399#issuecomment-858303908 talk, We also have Azure DevOps solutions, but we don't know how to restore a similar (
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
) suite in Notebook?Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
#!about
magic command.dotnet interactive --version
.Screenshots
If restore packages from Azure Artifacts, will show 401 (Unauthorized) Error.
Example:
I reference https://docs.microsoft.com/en-us/azure/devops/artifacts/nuget/dotnet-exe?view=azure-devops, run
dotnet restore --interactive
is work, no 401 error.