Category "nuget"

Visual Studio 2019 create NuGet package that includes NetStandard and updates web.config

Recently, I created a NuGet package in Visual Studio 2019 by following the steps here to create the package using the "Pack" command. The problem is when I tri

Private Artifactory Package not showing up in Visual Studio

in the past hour I used Visual Studio to package a NuGet .nupkg file, and then used the following commands to push my .nupkg file to a private artifactory repo:

Could not load file or assembly 'System.Buffers, Version=4.0.2.0...'

I'm getting the following exception when trying to call GetDatabase method of the MongoClient class after adding a new configuration using VS config. manager: C

NuGet Unable to load the service index for source Authentication failed

Since today for some reason I'm unable to connect to the NuGet package manager through Visual Studio. [nuget.org] Unable to load the service index for source ht

Using Nuget.Protocol to delete a package from Azure DevOps

I'm writing a simple application to implement package retention in our AzureDevOps NuGet feed, but I can't delete a package -- nothing happens. (I want to keep

Install Nuget-Dependency with package created over .nuspec file

I'm trying to create a NuGet-Package from several thrird-party library files. One of these files have a dependency to System.Drawing.Common. So I tried to add t

Visual Studio Nuget Update - Access denied to \packages\System.Security.Cryptography.X509Certificates.4.3.2\.signature.p7s is denied

Hi currently getting the above error when trying to restore or update packages via Nuget on VS2019 16.8.2. The project was built on anothe rmachine then moved t

Issue restoring local NuGet package through Azure Pipelines

I have come across an issue in Azure Pipelines where I have a local NuGet package in my repo that I wish to include in the pipelines build alongside all other N

Can't Install Nuget Package

I am trying to install System.Runtime.Handles so I can use SafeAccessTokenHandle and RunImpersonated, however when I try to install the package I get the error

NuGet "Unable to find package" for local source

This has worked previously, and now it doesn't. Maybe because I upgraded Visual Studio to 15.7.4, maybe because I completely replaced the project that provides

Dependency injection error pops up whenever I try to install a certain Discord Package

I'm really new to programming, but I felt like trying out some bot-development for my discord server, like one that will occasionally say hello to people when t

Nuget Package Restore Failing with Access to the path '..\packages\Microsoft.Owin.Security.Jwt\4.0.0' is denied

As title says I am getting that error while I am restoring my packages in Visual Studio 2015 Update 3, Windows 10 System. Background: My company is maintaining

Dotnet restore not working

dotnet Version: 1.1.0 (global.json) NuGet Version : 4.4.1.4656 VS2017 v15.5.2 (as Administrator) .NET Core 1.1 The solution I am trying to build Update I: I jus

API resource location a7c78d38-31a8-417e-ba6b-7e58b352f304 is not registered on

I'm trying nuget caching in Azure Pipelines. On running the pipeline, I'm facing this error. Resolving key: - nuget [string] - "Windows_NT"

Importing exported project templates in Visual studio does not restore packages

I created an project template according to microsofts docs. The project itself requires 3 packages that I installed from Nuget. However upon importing the proje

Issues connecting to Nuget. Cannot turn off proxy

In Visual Studio 2017 I'm trying to connect to the nuget server to update some stuff, but I'm getting this error: [nuget.org] Unable to load the service ind

Nuget Packages are there but missing References

After branching in TFS, VS2015 Update 2 has missing references to all Nuget packages. Package restore says "All packages listed in packages.config are already i

Odd NuGet cache issue; does NuGet keep track of package updates made?

I happened to get into a bit of a mess yesterday with our NuGet repository, and I've resolved it - but wanted to confirm my suspicions as to why it happened. I

Nuget.exe pack WARNING: Description was not specified. Using 'Description'

I'm trying to create a NuGet Package via command line and I can't seem to figure out how to set Description, Author, Title, Summary, releaseNotes, and Owner. T

Unable to load System.Threading.Tasks.Extensions

I have a web project build on .net framework 4.5.1. We are trying to added PostgreSQL support for the project. Using Nuget, I have installed 4.0.4 npgsql to the