Skip to content

Instantly share code, notes, and snippets.

View conficient's full-sized avatar
🤓
Loving BLAZOR!

Howard Richards conficient

🤓
Loving BLAZOR!
View GitHub Profile
@conficient
conficient / NugetManager.cs
Created November 20, 2020 10:22 — forked from cpyfferoen/NugetManager.cs
NuGet API wrapper to search/install packages WITH AUTHENTICATION the same way Nuget.Exe/Client does it - looks up CredentialProviders and plugins (also for Credentials). Specific use case was Azure DevOps feed access.
using NuGet.Common;
using NuGet.Configuration;
using NuGet.Credentials;
using NuGet.PackageManagement;
using NuGet.Packaging;
using NuGet.Packaging.Core;
using NuGet.Packaging.Signing;
using NuGet.ProjectManagement;
using NuGet.Protocol;
using NuGet.Protocol.Core.Types;