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

Version mismatch in Nuget Package

I was trying to create a gis application when i installed a nuget package, it showed the following error,Error The 'Esri.ArcGISRuntime.WPF' nuget package cannot be used to target 'net6.0-windows'....

View Article


ASP.NET Core Web API - How to resolve Detected package version outside of...

In my ASP.NET Core-6 Web API, as I tried to install:Install-Package AutoMapper.Extensions.Microsoft.DependencyInjection -Version 11.0.0through the Nugget package, I got this error:Detected package...

View Article


Add the appsettings file to the nuget package [duplicate]

I have a multitarget netsdk project with the following project format:<Project...

View Article

Command for mass convert to PackageReferenence

is there command to convert packages.config to PackagesReferenence? Without running Visual Studio or any other IDE. I was searcing on Google but I wasn't found any CLI utility.

View Article

NuGet.config configuration in such away that it would create the packages...

Here is info about our technical development environment :-Microsoft Visual Studio Enterprise 2019-.Net Core 3.1-DevExpress v21.2.6 platformPostgreSQL 14.2, compiled by Visual C++ build 1914,...

View Article


Conflictcs between versions of "System.Numerics.Vectors" within Xamarin Forms...

I'm building a Xamarin Forms 5 app including an Android Project using VS 2022 PreviewAll NuGet packages are up-to-date.The project references another project which is using the NuGet Package...

View Article

Nuget Package is causing API Validation Errors

I have a project that is separated into three layers:An API, which sends MediatR queries and commands to the application layer.A class library of application logic that uses fluent validation.A class...

View Article

Force transitive dependency version in nuget

I've a .Net Framework 4.6.1 web application, and I installed Microsoft.Azure.ActiveDirectory.GraphClient.2.1.1, which has transitive dependency on "Microsoft.Data.Odata(>=5.6.4)" . I'm trying to...

View Article


Image may be NSFW.
Clik here to view.

Blocked in work with VS 2022 .NET Core 6: "Could not load file or assembly...

I can not use NuGet Package Manager because in the package browse window I got the Error occurred message. Clicking "Show errors in output" gives:Could not load file or...

View Article


grab UserSecrets from a NuGet package

I've written a C# class library for my company to use internally, and it uses DotNet UserSecrets to allow each developer to have their own credentials set without needing to worry about accidentally...

View Article

Is it possible to create private Nuget package for wpf project?

I have single window WPF app which I would like to reference in couple of my private projects. I already have private Nuget feed and I would like to add there my WPF project to easily reference it and...

View Article

How to interpret/handle this dotnet list package --vulnerable result

I have scanned for vulnerable NuGet packages using dotnet list package --vulnerable --include-transitive. I get the following:Project `MyProject` has the following vulnerable packages [net6.0]:...

View Article

Is there any way to use .net 5.0 nuget package with .net 4.5.1?

I've made a custom nuget package from .net 5.0 standard library. Is there any possible solution to Install this nuget with .net framework 4.5.1? This is the error message.enter image description here

View Article


Image may be NSFW.
Clik here to view.

Exclude folder from NuGet package

We have an assembly that currently holds .net code that is used by other assemblies but also typescript & vuejs components that are being used by other assemblies.For the common .net code, we want...

View Article

Read values from Excel Text Box using C# - Nuget Package

I have an existing excel file, from which I am trying to read data and store it in the DB. But there are few Text Boxes and Check Boxes, where I need to get data from these as well. Is anyone aware of...

View Article


Prevent installing my NuGet package to project with unsupported target framework

My NuGet Package targets .NET Standard 2.0 and .NET Framework 4.0.The .nuspec looks like:<?xml version="1.0"?><package><metadata> ...<dependencies><group...

View Article

BadRequest when trying to push nuget package

I have .Net framework project and I'd like to publish it to private Nuget feed. Feed is working well as I have other projects published there and there was no problem with pushig until this project.For...

View Article


Can't Install Nuget Package

I am trying to install System.Runtime.Handles so I can use SafeAccessTokenHandle and RunImpersonated, however when I try to install the package I get the error : Could not install package...

View Article

Microsoft.WindowsAppSDK.1.0.1 Payload contains two or more files with the...

I get the following error when trying to compile ProjectB which depends on ProjectA, both of them use WindowsAppSdk:20> Creating library...

View Article

Nuget Package Source is not prompting for credentials

I've added a NuGet Source. It needs credentials but when I'm installing a package using install-package packageName nothing happens. I tried the same steps on other PC and it works. I'm using Visual...

View Article
Browsing all 3067 articles
Browse latest View live


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