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

CS0433 The type 'type' exists in 'ProjectA' and 'ProjectB'

I have a solution made with .NET Framework 4.7 (c#) in which we have 2 projects that contain the same partial class within the same namespace, those projects are packaged on a nupkg.From now on we will...

View Article


Visual Studio 2022 not adding transitive dependency after migrating from...

I'm running into this issue after upgrading to VS2022 from VS2019. As part of the upgrade I migrated from NuGet package.config to PackageReferenceI have VS 2022 17.7.5, .NET Framework 4.8 Project A...

View Article


What is "Microsoft.NETCore.App.Host.win-x64" used for?

What is the NuGet package "Microsoft.NETCore.App.Host.win-x64" used for? I see that one of my projects downloads it from the feed, but I don't know why.The package's description at nuget.org...

View Article

How to match app.config version numbers to packages.config

I've had this several times now with different packages (Latest was System.ValueTuple) installed using the nuget package manager in Visual Studio.After doing some upgrading of various packages I find...

View Article

Azure Function Nuget Cache restore failing with "The user name or password is...

I have an Azure Function I deploy as a part of an ARM template. This Azure Function references a few external .NET DLLs. I have added the reference to these DLLs in the project.json...

View Article


How to find the version of a NuGet package that supports a specified .NET...

Lets assume my project based on .NET Framework 4.0 and requires the NuGet package GuardClauses.Currently GuardClauses' latest version is 5.0.0, which supports .NET Framework 4.6.1 and higher. So...

View Article

Image may be NSFW.
Clik here to view.

NuGet package targets - how to copy files to subfolder of target dir on build?

I'm trying to add two text files to my nuget package so that when the user of the package builds the project, one file is copied to the root of the build directory, but another file is copied to a...

View Article

Missing NuGet Packages, But "Packages Already Installed"

I have seen this same problem brought up by numerous people online, and have tried just about everything under the sun to resolve this issue but nothing is working. I copied my visual studio solution...

View Article


Unable to find fallback package folder "NuGet & VS2019" Error

How to resolve this issue? VS2019Just created a new .Net Core 3.1 Windows Application and built the ProjectI was not able to follow this answer here! it is not clearSeverity Code Description Project...

View Article


How to mark a NuGet package as deprecated in a local repository?

I´ve seen that there is a way to mark packages as deprecated on nuget.org.Unfortunally I don't push my packages to nuget.org but to an internal file repository.Is there a way to mark a local package as...

View Article
Browsing all 3170 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>