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

Nuget packaging: Possible to target early frameworks only?

I have some code that works in dotnet 2.0, 3.0, and 3.5 but not in 4.0 and greater. Is there a mechanism within Nuget to target these earlier frameworks only?

View Article


Visual Studio 2017 steps into the wrong NuGet package location

I have several C# console app projects referencing different versions of a NuGet package. One application references the 1.2.3 version of the package but VS (Visual Studio 2017) steps into the...

View Article


Not able validate data condition based on the json element attribute value...

I have a json file, where i have to validate a json attribute element value based on another json element attribute value. But if there json elements with the same name. It always takes the last value...

View Article

Why Is Adding Windows Specific Nugets to ASP.NET Core Possible

System.Net.Http.WinHttpHandler Nuget description says that it is Windows specific. But I was able to install it on an ASP.NET core project nevertheless. Shouldn't it be prevented by Visual Studio to...

View Article

Image may be NSFW.
Clik here to view.

Using LazZiya ExpressLocalization Nuget package to Localize web app

I have been trying to follow these two tutorials to add Localization to my .Net Core Razor web...

View Article


Image may be NSFW.
Clik here to view.

Can not delete a nuget package with the dotnet cli

I can not delete a nuget package with the dotnet cli.Here is the command I am running:dotnet nuget delete package AutoMapper.Extensions.Microsoft.DependencyInjection 7.0.0Here is the error I am...

View Article

Visual Studio Remove Unused Nuget Dependencies

i am struggeling for a while now with removing unused dependencies from bin output folders. I am for example writing a small .NET Wpf program which gets its data from a Web server. Therefore i...

View Article

Which .net package (Apache.NMS.AMQP/AMQP.Net Lite) should be used for...

We started using Active MQ Broker on our RedHat platform. The Instalation is done and we are in the process of creatinga producer/consumer for testing purposes. Now we need to separate the...

View Article


ArduinoUploader NuGet package

I have downloaded the NuGet package Arduino Uploader (https://www.nuget.org/packages/ArduinoUploader/), and receive the following error when trying to run it using the example on the github page...

View Article


Which.net package (Apache.NMS.AMQP/AMQP.Net Lite) should be used for...

We started using Active MQ Broker on our RedHat platform. The Instalation is done and we are in the process of creatinga producer/consumer for testing purposes. Now we need to separate the...

View Article

TCP/IP Client and Server basic using and references

I have installed TCP/IP from VS15 NuGet Packeges into my project and in References it is as SimpleTCP, I've rebuild project, but for SimpleTcpClient client; it says: Suppression State Error CS0246 The...

View Article

.NET Core NuGet Package from Azure Artifacts cannot resolve namespaces

I create several NuGet Packages using CI/CD and I can successfully import them into my project, but somehow my .NET Core project cannot find the Classes and Namespaces?So in Azure Artifacts I have the...

View Article

Reference not updated after install

I have recently upgraded my reference packagesMicrosoft.Aspnet.Mvc from 4.0.0 to 5.0.0,Newtonsoft.Json to 6.0.3,Microsoft.Aspnet.WebApi to 5.0.0And I installed it using NuGet Package Manager Console in...

View Article


The magic number in GZip header is not correct EF migration

I am using entity migration command likePM> add-migration TestAfter; I am getting error "The magic number in GZip header is not correct. Make sure you are passing in a GZip stream."ReInstall nuget...

View Article

Image may be NSFW.
Clik here to view.

Cannot push nuget packages to private GitLab NuGet Repository - getting 404...

I have a problem with the subject. I have a private Gitlab server where we need to setup nuget package repository."Packages" feature is enabled in Gitlab, I can open the list of packages, but it is...

View Article


Expected Nuget package is installed, still getting an error regarding...

I am working on legacy .net project where we are using one nuget package which is named as "ML.LeadApproval.Contract".So now I did some changes to this leadApproval project and build a new nuget...

View Article

Azure Pipeline only push NuGet packages that have new version

I have a single repo that contains multiple DLLs which create separate NuGet packages. I would like to use the Azure DevOps pipeline to publish these packages automatically when the master branch...

View Article


Image may be NSFW.
Clik here to view.

vs2019 failed to restore packages

for some reason vs2019 keep failing to restore packages. i changed my nuget package settings to "http://api.nuget.org/v3/index.json" and I was able to download the packages necessary. Now all of a...

View Article

Multiple versions of the same reference vs2019

I have MVC project with Npgsql nuget package installed version 3.2.5Now I need to refernce another project to this MVC project that also uses Npgsql package but with newer version 4.1.3When I use the...

View Article

Image may be NSFW.
Clik here to view.

AutoMapper 9.0.0 to 4.0.4 downgrade restore failed

I have updated the .Net C# project from package reference to NuGet package references. The project uses the AutoMapper 4.0.4 but after the NuGet upgrade, it got upgraded to 9.0.0 version. If I try to...

View Article
Browsing all 3067 articles
Browse latest View live


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