How should I manage my dependency relationship of my NuGet
let me describe my scenario, it's a little specific:I use dynamics 365 to manage my data, and I develop a series of API to update Dataverse. Now, I want to expose my API contracts, which are request...
View ArticleHow to connect to MySQL Database?
New to C# programming, I'd like to be able to access MySQL Databases. I know MySQL connector/NET and MySQL for Visual Studio are required for C# development. Do I need to install them into my app? Is...
View ArticlePackage is not found in the following primary source
I have a build pipeline set up to create Nuget packages and publish them to a feed in artifacts.I was able to use the feed successfully.However when I ran the pipeline again, causing the packages to...
View ArticleHow to package a .NET library targeting .NET Framework and Universal Windows...
How do I package a .NET library that has the following properties in a modern general-purpose way?Offers some shared functionality to both .NET Framework 4.6 and Universal Windows Platform.Offers some...
View ArticleError NU1202 Package is not compatible framework, when it actually is
NU1202 Package errorsI have two custom nuget packages (PackageABC and PackageXYZ), both support multi-targeting. Using...
View ArticleWhy is package manager ignoring the settings in the nuspec file
From my understand the nuspec file this should not be adding anything from the plugins folder, but all the files are still being added. I just want them in the pack, and not added to the project.This...
View ArticleVisual Studio claims that Python 3.12 is "old version". Rants that NuGet...
After a clean install on a new windows installation, Visual Studio Community 2022's NuGet package manager, when Python 12 is selected, claims that "Due to new security restrictions, installing from the...
View ArticleAfter Upgrading the dotnet from v2 to v8, i am getting this error -...
I am using C# in my backend and Angular in frontend and after upgrading dotnet to version 8 I am getting this error while trying to login through frontend - System.MissingMethodException: 'Method not...
View ArticleYour startup project 'project' doesn't reference...
I'm building WPF application with the EntityFrameworkCore version 2.2.2However, when i want to Add-Migration it output me an error...Your startup project 'project' doesn't reference...
View Articlewhat is difference between microsoft.aspnetcore.signalr.client and...
There are two nuget packages for SignalR client:Microsoft.AspNetCore.SignalR.Client and Microsoft.AspNetCore.SignalR.Client.Core.Both ASP.NET Core, but I can't find any information why they both...
View ArticleNuget Package - feed (VSTS) :Exception 'System.AggregateException' thrown...
I have created a new feed with in Package Release hub (VSTS), installed the credentials, then added the package source. Now, I am using Visual Studio 2015 to install Micrososft.Aspnet.mvc to a project,...
View ArticleAzure Devops Package Retention Policy - Packages deleted
Currently we are working with a large list of applications. Some of which have been running for years.As the package feed is growing steadily in size, we decided to turn on the retention policies to...
View ArticleVisual 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?
View ArticleHow to debug code in NuGet package created by me
I have a NuGet package I created and installed in another solution but now I need to debug the code of the package when called from my new solution.I tried referencing the solution of the package but...
View ArticleHow to build nuget package from nuspec without platform version?
I am trying to build a nuget package only for dependencies consisting of 3rd party packages. If I'd be starting from scratch probably adn empty project with reguired assemblies might be a better idea...
View ArticleReference DLL with NuGet dependencies
Let's say I build a project named B as B.dll. Project B uses several NuGet packages. B.dll is referenced in another project A. How can I automatically add the referenced NuGet dependencies to project...
View ArticleLibman VS Nuget Packages for client side libraries
What is the need for Library Manager(Libman), if we can install client-side libraries from NuGet packages directly?I tried both but can't differentiate between them. Please point out the differences...
View ArticleCannot find Microsoft.Extensions.Hosting.WindowsServices in NuGet Packages in...
I have a project in .net48 and I want to add Microsoft.Extensions.Hosting.WindowsServicesBut when I search for it in the NuGet packages it does not show any resultsI already have installed...
View Articledotnet pack include multiple projects into single NuGet package
I have 3 dotnet projects under a solution A,B and C. Project A have ProjectReference in csproj file to B and C. B and C have multiple Package references to publicly available packages in their...
View ArticleMicrosoft.Maui.Essentials keeps getting downgraded after Build
In the CSPROJ it shows as:<PackageReference Update="Microsoft.Maui.Essentials" Version="8.0.6" />It also shows this version under Packages. However, after I build, Packages shows it as 8.0.3 and...
View Article