Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow

Image may be NSFW.
Clik here to view.

ModuleInitializeException on Azure Deployment: Missing Dependencies for...

I'm using PackageReference Include="Microsoft.Identity.Web.Certificate" Version="1.25.3" in my project. The application runs successfully on my local machine. However, when deployed to any environment...

View Article


NuGet Update failure in Visual Studio 2019

I am having an issue with NuGet in Visual Studio 2019 (v.16.9.0).My Solutions are all ASP.NET MVC Web Apps. I run on a local LAN. In the NuGet Package Manager 'Allow NuGet to download packages' and...

View Article


Image may be NSFW.
Clik here to view.

How can I exclude .NET 9 updates in Visual Studio Package Manager

The Package Manager in Visual Studio 2022 tries to force me to update System/Microsoft packages to .NET9 versions. But I don't want to use .NET9, instead, stay on the latest .NET8 patch versions.Is...

View Article

How do I manage local nuget packages safely?

Our team has just started working with NuGet packages, for now locally on a local server directory. The problem starts when several developers are working on the same project and both accidentally up...

View Article

Image may be NSFW.
Clik here to view.

System.Runtime.CompilerServices.Unsafe.dll 6.1 has two different assembly...

I have been upgrading all our projects to target .NET framework 4.6.2 and I'm running into a maddening problem. When I run the application it runs fine. However, when I run the unit tests I get an...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio NuGet says I have 3 vulnerable packages, then shows me 0

So NuGet says I have 3 vulnerable packages. But when I then ask for a listing of the vulnerable packages, I get 0. What is going on here?Update: And it gets weirder. I updated Visual Studio and...

View Article

How to correctly specify version range for dependency..?

I'm creating an SDK and utilize Newtonsoft.Json. I want to allow any version of 11 and any version of 12, so I set my package ref like this:<PackageReference Include="Newtonsoft.Json"...

View Article

Xamarin.Google.Android.Play.App.Update package issue

I have implemented in-app updates for android in .NET MAUI using this package<ItemGroup><PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" /><PackageReference...

View Article


Difference in NuGet processing via `dotnet add package ..` vs nugets adding...

I need to use native C libraries in my library (that supports several Core TFs and .NET Framework) which is published via NuGet. I configured it via a .csproj file and a runtimes folder, but I noticed...

View Article


Image may be NSFW.
Clik here to view.

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

I'm 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 can't see...

View Article

Which AspNetCore package version should 3rd party NuGet package developers...

Which AspNetCore package version should 3rd party NuGet package developers target?I'm working on a set of Blazor Components. It has many projects each packaged and published as NuGet packages. But of...

View Article

Could not load file/assembly 'office, Version=15.0.0.0, Culture=neutral,...

I am using VS 2022 to develop windows application. In which I want to write some data into Excel. I have installed NuGet package Microsoft.Office.Interop.Excel Version 15.0.4795.1001 and I have...

View Article

Xamarin PCL Refit 3.0.1 , Doesn't look like a Refit interface

I recently started working on a Xamarin Android/iOS project with a PCL class where I want to put all the logic in. Like my Refit interfaces, ReactiveUI ViewModels et cetera, but every time when trying...

View Article


Image may be NSFW.
Clik here to view.

nuget 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 Article

Removed NuGet package and can't reinstall it in UE5 C++ project

I encountered an issue with updating NuGet packages in my Unreal Engine 5 (C++) project using Visual Studio 2022. While trying to solve it, I removed the Blake3 NuGet package. After managing to update...

View Article


Image may be NSFW.
Clik here to view.

After installing Bootstrap by Manage NuGet Packages, the Bootstrap files do...

I installed Bootstrap 4.x via Manage NuGet Packages in Visual Studio for this solution, but the Bootstrap files does not show for referencing.Here is a screenshot of my NuGet output:What is it wrong?...

View Article

Best way to resolve NU190X issues reported in VS

I have a large project which is using 3rd party libraries. Recently i have been seeing errors advising some of the packages have vulnerabilities.Most of these are transitive packages that need some...

View Article


Referencing a .NET Standard library from an ASP.NET web application

The title really says it all already. I have a website running on .NET 4.8.1. And a whole bunch of libraries that are currently also targetting .NET 4.8.1.I want to use a lot of these libraries in a...

View Article

Image may be NSFW.
Clik here to view.

.NET 8 Upgrade and Microsoft.AspNet.WebApi.Core 5.3.0

Problem: We have an app on .NET 6 and with the upcoming 11/4 deadline, we want to move onto .NET 8. When I upgraded the solution's projects, I only had one Nuget package that was flagged as ...not...

View Article

Managing NuGet package dependency updates in a local NuGet repository

Let's suppose there is a .NET Core project that has a reference to a NuGet package, say nugetD. That NuGet package in turn has references to 3 other NuGet packages, say nugetA, nugetB and nugetC.The...

View Article

Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of...

I have a Web application that I made in Visual Studio 2022, using .NET Core 8.0 and Angular 8, and the Azure Cognitive Services Speech (version 1.41.1) installed through NuGet. The application works...

View Article


How can new NuGet packages in an upstream view be pushed to my feed...

I’m using Azure DevOps and have created a NuGet feed within the portal UI. I’ve set a single upstream source that’s an Azure Artifacts feed. The location is a NuGet feed view.Right now, when a NuGet...

View Article


Image may be NSFW.
Clik here to view.

Nuget prompting credentials

I am using Visual Studio 2019. While building a solution its asking for credentials and build is getting failed. api.nuget.org asking username and password. Note: I am using public default nuget package

View Article

Visual 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 Article

Microsoft.Bot.Builder.Azure doesn't contain type or namespace...

Earlier, the NuGet package 'Microsoft.Bot.Builder.Azure' had AzureTableStorage, AzureBlobStorage, and CosmosDbStorage in it. Now, the latest version has only AzureBlobStorage and CosmosDbStorage.What...

View Article


How to use nuget.targets file to save two DLLs with same name but different...

I have a problem with the SQLite.Interop.dll library. I am required to use the x64 and x86 distributions of it. I also need both of them to be copied into an output directory in...

View Article

How to prevent an unlisted package from being downloaded when Update-Package...

I have created a package on Nuget.org. However, when doing one of the first releases, I set an incorrect assembly version format, which is used as the package version.Let's say that the version was...

View Article

How to move a folder of images to another location on build/install within a...

I have created a NuGet package in which I install other referenced packages. I also have a folder of up to 100 images. If I put these in the content folder they get copied over to the root of the...

View Article

Could not load file or assembly ‘Microsoft.IdentityModel.Abstractions,...

I am developing a C# dll based on .NET framework 4.8.2 which will use Microsoft Graph API to send email through outlook.For this I have added the latest Nuget packages for “Microsoft.Graph” v5.67.0 and...

View Article



Nuget resource change from https to http

I try to upload a NuGet package but a receive this error:An error was encountered when fetching 'PUT http://nuget_domain/api/v2/package/'. The request will now be retried.But in the...

View Article


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