Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Publishing WPF application fails du to unauthorized .NuGet service index (Azure DevOps)

$
0
0

I want to publish one of my WPF applications (to a folder).
The app needs some NuGet packages that I published via Azure Devops. I signed in with Visual Studio with exactly the same account I use also in DevOps and for this reason it is no problem to install/remove the packages via the "Manage Packages for Solution".
Building and running my solution is also no problem.

But when I want to publish my solution I get an unauthorized message that I do not understand:

The plugin credential provider could not acquire credentials. Authentication may require manual action. Consider re-running the command with --interactive for `dotnet`, /p:NuGetInteractive="true" for MSBuild or removing the -NonInteractive switch for `NuGet`4>Unable to load the service index for source https://pkgs.dev.azure.com/MyProjectName/_packaging/MyNuGetFeed/nuget/v3/index.json.

What could I try here? Why is VS having no issues to access the feed when I build and run the project locally but publishing is an issue?

Any proposals are welcome


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>