Quantcast

Cannot install Plugin.Firebase.CloudMessaging in .NET MAUI project (Path Too...

I'm trying to integrate Firebase Cloud Messaging (FCM) into my .NET MAUI app, but I keep running into an issue when installing the Plugin.Firebase.CloudMessaging package via NuGet.Issue:When attempting...

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

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

Nuget package installed but references not resolved

I have a multi-project solution with Prism Nuget packages installed in several projects. I then attempted to add a Prism Mef extensions package to one of the projects using the Nuget Package Manager UI...

View Article

Visual Studio: NU1008 Central Package Management problem

All of a sudden my solution which is 3 or 4 years old...is throwing errors. I was never using this feature. My solution has 10 projects in it, and I had made no code changes, visual studio updates, no...

View Article

Visual Studio : NuGet Package Source requires credentials

Visual Studio 2012 > Tools > Options > Package Manager > Package SourcesI add a new Package Source pointing to a myget.org url : http://www.myget.org/F/myfeed/VS > Tools > Library...

View Article


Image may be NSFW.
Clik here to view.

Exclude specific NuGet package dll's from being added as project reference

I'm creating a nuget package in a project built in SDK style. The project targets net472& net8.0 and uses the nuget package IKVM 8.11.2.When I install IKVM, it generates the IKVM dll's and also 2...

View Article


NU1100 error while debugging WinUI 3 Application

Unable to resolve 'Microsoft.NETCore.App.Runtime.win-x86 (= 8.0.14)' for 'net8.0-windows10.0.19041'. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual...

View Article

dotnet build with GeneratePackageOnBuild and contentFiles

I have a project that I'm building with dotnet build -c Release /p:Platform=x86 .\Foo.csproj.The csproj file is in SDK format and has this content:<?xml version="1.0"...

View Article

FileNotFoundException: Could not load file or assembly "System.Runtime...

I have been working on a .NET 8 project in Visual Studio for months. Everything was working well until one day out of nowhere, without changing anything in the code/OS/VS the project started throwing...

View Article


Prevent duplicating files in NuGet content and contentFiles folders

My NuGet package needs to deliver some rather large files to build output directory.In an old NuGet model, such files have to be stored in content folder of the .nupkg. While in a new model introduced...

View Article

Image may be NSFW.
Clik here to view.

What is the preferred way to use a nuget package in a project targeting .Net...

I have a nuget package that was packed using the binaries published from an .net 8 project. I have used nuget pack command. Basically this is a tool(Authentication tool), which will be used by many...

View Article

Cannot add package to visual studio. (System.Management.Automation)

Trying to add System.Management.Automation package to my project in visual studio because I want to run powershell commands through my code, but am getting the error:The project does not support adding...

View Article

Getting Error Cannot find any .csproj or .fsproj file for your project!...

I have just installed the NuGet package manager and am using the NuGet package manager. I am trying to install Selenium Web Driver for the first time, but I am getting this error:Cannot find any...

View Article



Can't open Nuget package manager in Visual Studio 2022

I am using Visual Studio 2022 v17.13.5. I have many desktop (Winforms) and ASP.NET MVC web application projects. For some time now, I have a problem with Visual Studio and it is affecting all the...

View Article