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

Azure function v4 migration. Could not load file or assembly...

I'm currently migrating an Azure Function from v2 to Azure Functionsv4. I already migrated my project to .NET6 and fixed all the package reference errors. I have in the solution 3 projects which I...

View Article


Error Message: From Assembly Cannot Embed Interop Types from Assembly

Im using .NET Framework 4.8 and Im using the ClosedXML Library,but my programm is an class Library type of programm so that the dll of the programm will land in an different folder where all other...

View Article


How to ignore dev dependencies in WhiteSource scan for nuget packages

I want to ignore my SonarAnalyzer.Csharp and Sonarlint package in the C# code WhiteSource scan. They are being captured as Policy Violation.I checked the documentation, there is no option to ignore...

View Article

Image may be NSFW.
Clik here to view.

Getting error when using GitHub Actions to push the nupkg to my GitHub packages

Question:Im getting a "Specified source 'github' is invalid" error when trying to build and push a NuGet package to GitHub nuget Packages. Does anyone know why? or, what the source should be, I cant...

View Article

Why don't nuget packages install to the packages subfolder

I have a solution with many projects that use many packages. Generally, packages have installed to the "packages" subfolder under the solution. But now I've noticed that a recently installed package...

View Article


Image may be NSFW.
Clik here to view.

Errors updating project NuGet packages

It'a gotten a little scary to update all my NuGet packages as I always seem to have errors after I do.I just did this now and had two issues.I'm getting about a dozen of the following error.Warning...

View Article

project.assets.json file references 2 different versions of a package for the...

I have a project that is multi-targeted net472 & net6.0-windows. For net6.0-windows there is a transient package reference with 2 different versions.4.0.0MyProject -> SSH.NET/2016.1.0 ->...

View Article

Unable to resolve service for type 'AspNetCoreRateLimit.IProcessingStrategy'...

I have used the package AspNetCoreRateLimit Version="4.0.1" and I get the following exception: Unable to resolve service for type 'AspNetCoreRateLimit.IProcessingStrategy' while attempting to activate...

View Article


Image may be NSFW.
Clik here to view.

nuget package reference blue icon in visual studio 2017

For some reason in my console app, couple of the reference that I installed thru nuget shows the blue nuget icon. I can build my project locally, but not after I deploy my project to cloud. The error...

View Article


Using Entity Framework Core with WINUI 3 to create model files fails

After having problems using the Entity Framework tools nuget package (EntityFrameworkCore.Tools) in my WINUI 3 solution to generate the model files using the Package Manager Console, I figured I'd try...

View Article

'Microsoft.Extensions.Hosting' causes error to...

Behind the problemI want to store my connection sting using the 'Users Secret' feature on Visual Studio 2022. To do this the following extensions must be installed:<ItemGroup><PackageReference...

View Article

How to exclude third party dlls

Visual Studio 2022.I created a normal .Net Framework Class Library.In this library I added some third party packages/dlls to get the library to do what I need.I open up a new project and add a...

View Article

Not able to install Nuget packages in Rider

I am trying to install Microsoft.Identity.Web Nuget package in rider for a .Net Coren application.But, I am getting the error below:Package restore failed. Rolling back package changes for...

View Article


Excluding files from Nuget package

I have a few projects, which could be a console application, Web Application, WebAPI, MVC etc) and a normal Class Library (not Core/.Net 6) which contains Newtonsoft.Json dll (latest version).Each of...

View Article

Image may be NSFW.
Clik here to view.

NuGet package shows yellow exclamation mark

I just installed a package through NuGet, but it shows a yellow exclamation mark icon in my Solution Explorer, see screenshot below.Why does this happen, and how can I resolve it?

View Article


How do i remove dll(s) from Nuget package?

Im using Visual Studio 2022 and created a Nuget Package using this articlehttps://arsenshnurkov.github.io/gentoo-mono-handbook/building-nupkg.htmI run nuget pack and i see the nupg file and upload it...

View Article

Image may be NSFW.
Clik here to view.

Can't update 4 NuGet packages due to error "Could not find a part of the...

I can't update any/all of the following packages in my solution:I get the error:I've tried reinstalling all packages via NuGet console but still get the same error.I'm using VS 2022 64bit v 17.0.4....

View Article


Localhosting in Visual Studio with IIS isn't using the .dll files from my...

Some BackgroundI recently inherited a large ASP .NET Visual Basic web application. Unfortunately, I was unable to talk with the person previously working on it and now have a tight deadline. I know...

View Article

Image may be NSFW.
Clik here to view.

Unable to Load Assembly in Worker Service (.Net Core3.1 and NLog 4.9.2)

This is a repeated question but don't know what happens in this solution scenario , We are setting up an WorkerService in .Net core 3.1. For logging we are using NLog. While building we were getting...

View Article

Image may be NSFW.
Clik here to view.

why my nuget package triggers dependency dll downgrade when install?

I have a nuget package that consumed by internal teams.This is the dependency section in the nuspec file<dependencies><dependency id="Microsoft.IdentityModel.Clients.ActiveDirectory"...

View Article
Browsing all 3067 articles
Browse latest View live


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