How to restore packages from pkgs.dev.azure.com
See original GitHub issueDescribe 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:
- In a notebook, run the
#!about
magic command.
.NET Interactive
© 2020 Microsoft Corporation
Version: 1.0.225602+88e6d92f1cf8ead1c4c0b982e67b4a63902e00e6
Build date: 2021-05-27T09:16:11.3076724Z
https://github.com/dotnet/interactive
- At the command line, run
dotnet interactive --version
.
1.0.230701+897ec27256aa312cc872b52b261726684b29d42b
- OS
- Windows 10
- Browser
- Chrome
- Edge
- Frontend
- Visual Studio Code
Screenshots
If restore packages from Azure Artifacts, will show 401 (Unauthorized) Error.
Example:
Installing package Microsoft.DotNet.Interactive.SqlServer, version *-*.............
Error: C:\Program Files\dotnet\sdk\5.0.300\NuGet.targets(131,5): error : �L�k���J�ӷ� https://pkgs.dev.azure.com/xxx/_packaging/xxx/nuget/v3/index.json ���A�ȯ��ޡC [C:\Users\BruceChen\AppData\Local\Temp\nuget\17224--1f65547b-77a1-42ee-b521-3d390a54364d\Project.fsproj]
C:\Program Files\dotnet\sdk\5.0.300\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\Users\BruceChen\AppData\Local\Temp\nuget\17224--1f65547b-77a1-42ee-b521-3d390a54364d\Project.fsproj]
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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Restore NuGet packages in Azure Pipelines
To restore NuGet packages from a feed in a different Azure DevOps organization, you must use a personal access token to authenticate. Create...
Read more >Publish and restore packages with dotnet CLI - Azure
Select Artifacts, and then select your feed from the dropdown menu. Select Connect to feed. Screenshot showing how to connect to a feed....
Read more >Restore Package Version From Recycle Bin - NuGet
Restore a package version from a feed's recycle bin back into the active feed. The project parameter must be supplied if the feed...
Read more >Delete and recover packages - Azure Artifacts
Recover deleted packages ; Select Artifacts, and then select Recycle Bin. A screenshot showing how to access the recycle bin. ; Select your ......
Read more >Why can't Visual Studio restore NuGet packages from ...
I am setting up Visual Studio 2022 Community Edition on a new workstation. I have instructions for connecting to an Azure DevOps artifact...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
Any updates on this?