Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Browsing all 3170 articles
Browse latest View live
↧

Getting a 401 error when attempting to build a Visual Studio Solution

For the past couple of days, I've been trying to run a company-made solution in Visual Studio. Normally, you build and everything works. In this case, I am getting a:Retrying 'FindPackageByIdAsync' for...

View Article


Multiple target framework project: different versions of the same NuGet...

I've put together a .Net 5 for Windows application, using among other things EntityFramework 5.0.13.Now we're trying to run it on a specific server, that doesn't have the .Net 5 framework yet. The nice...

View Article


Unable to Create a Nuget package and Getting NU5012: Unable to find

I am unable to create a nuget package using below azure devops yml pipelineVariablesbuildPlatform: 'x86'buildConfiguration: 'Debug'- task: NuGetCommand@2 displayName: 'NuGet Pack' inputs: command:...

View Article

Image may be NSFW.
Clik here to view.

nuget package manager now want to install transitive package by default?

I want to update a few nuget package and I notice that it now want to install the transitive package by default, show a simple example aboveThis is new to me, is there a way to return to the old way of...

View Article

NuGet Package Not working in Visual Studio 2015

After updating Visual studio 2015, I am getting the following error when visual studio starts.Nuget Operation failedNuGet.Config is not a valid XML. Path'.' hexadecimal value 0x00, is an invalid...

View Article


Specify latest package version in create-release-action

I have a github action that creates a release for Octopus deploy using the "OctopusDeploy/create-release-action@v3" action. - name: Create Octopus Release uses: OctopusDeploy/create-release-action@v3...

View Article

How to solve NuGet.targets(124,5): error : Value cannot be > null. (Parameter...

On building the project I am getting this error.Error NETSDK1004 Assets file'J:\Test\core\fx-core\obj\project.assets.json' not found. Run a NuGetpackage restore to generate this file. FxCore...

View Article

Can you now force nuget to update versions of transitive packages with...

There's a lot of older posts about the way that NuGet defaults to the lowest compatible version for transitive packages, and thus creates vulnerabilities in your code. It looks like until recently, the...

View Article


How to update Microsoft.Data.SqlClient 1.1.3 to 3.1.7 referred indirectly...

I have a .NET Framework web app that has service and data layer targeting both .NET 4.7.1 and .NET Core 8.0.The blackduck identifies a vulnerability in Microsoft.Data.SqlClient 1.1.3. Updates...

View Article


NuGet: remote server returned an Error(403) Forbidden

Whenever i attempt to install a package i get this errorremote server returned an Error(403) ForbiddenI can use other commands, such as get-package -ListAvailable, and discover whether there are any...

View Article

Image may be NSFW.
Clik here to view.

Manage Nuget Package in VS 2015 grey out

I want to use Nuget to download a package VS 2015 for Node.js project, however, it is grey out as shown below:How to resolve it?

View Article

Max unique snapshot option not working on Nuget snapshot version

I have a scenario where we are using nuget snapshot repo in jfrog and we are using snapshot versions for the develop branch builds.The requirement is that for develop branch build the version will not...

View Article

Image may be NSFW.
Clik here to view.

How do I determine .NET Framework needed for a particular NuGet package?

Using Nuget Package Manager in Visual Studio 2019 I attempted to install Microsoft.Toolkit.Uwp.UI.Controls and was met with this message/error:Could not install package...

View Article


Image may be NSFW.
Clik here to view.

Can't add a package source to Nuget package manager

When I try adding it, the add button is disabled. Does anyone know how to resolve this? I didn't have any problems with the Nuget package manager a couple of days ago.Don't mind this text, I just...

View Article

Image may be NSFW.
Clik here to view.

Automatic native and managed DLLs extracting from NuGet Package

This is driving me crazy for several months now and I'm still not able to achieve it. My managed libraries are extracted from the NuGet package but not the natives ones.We have a bunch of managed and...

View Article


MSBuild can't copy system.diagnostics.diagnosticsource 9.0.2 due to badly...

After updating my NuGet package of system.diagnostics.diagnosticsource from 6.0.2 to 9.0.2 my build pipeline in Azure DevOps (self-hosted agent) can no longer build my solution, as the path to...

View Article

Install a Nuget package in Visual Studio Code

How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?

View Article


Image may be NSFW.
Clik here to view.

How to permanently remove an unused transitive NuGet package

After switching from System.Data.SqlClient to Microsoft.Data.SqlClient in one of my solutions I am unable to permanently remove unused System.Data.SqlClient from the solution as it keeps getting...

View Article

ProjectReference not getting included in the packed nuget

I am new to the C# and nuget world.I have the issue with https://www.nuget.org/packages/Cumulocity.SDK.Client . Cumulocity.SDK.Client internally has a ProjectReference to Cometd.NetStandard.csproj ....

View Article

How to force the newer NuGet package version when there's a version conflict...

I have a solution with 5 projects:Project 1-3 are SDK-style projects with PackageReference.Project 4 is a legacy .csproj project with packages.config (.NET Framework 4.7.2. WebForms + MVC 5 project...

View Article
Browsing all 3170 articles
Browse latest View live