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 ArticleXamarin.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 ArticleDifference 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 ArticleGetting 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 ArticleWhich 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 ArticleUnable to publish nuget package - GitHub Actions [closed]
I've built a GitHub action to push my nuget package to GitHub registry based on GitHub docs. When it runs it compiles well but on push it runs to the following error.Pushing XXXXX.1.0.0.nupkg to...
View ArticleCould 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 ArticleXamarin 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 Articlenuget 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 ArticleRemoved 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 Articledotnet build failed due to remote nuget source
I am working with .Net 8 projects. They are in solution. When I build solution from IDE (Rider) everything is fine, all packages are restored, build is successful.But when I do the dotnet build I'm...
View ArticleAfter 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 ArticleBest 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 ArticleReferencing 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.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 ArticleManaging 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 ArticleUnable 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 ArticleHow 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 ArticleNuget 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 ArticleVisual 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