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 ArticleUnable 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 Articlenuget 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 ArticleNuGet 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 ArticleSpecify 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 ArticleHow 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 ArticleCan 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 ArticleNuGet: 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 ArticleManage 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 ArticleMax 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 ArticleHow 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 ArticleCan'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 ArticleAutomatic 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 ArticleMSBuild 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 ArticleInstall 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 ArticleHow 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 ArticleProjectReference 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 ArticleHow 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 ArticleNuget 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 ArticleVisual 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 ArticleVisual 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 ArticleExclude 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 ArticleNU1100 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 Articledotnet 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 ArticleFileNotFoundException: 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 ArticlePrevent 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 ArticleWhat 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 ArticleCannot 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 ArticleGetting 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 ArticleCan'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