Questions tagged [nuget]
NuGet is a free, open source developer focused package management system for the .NET platform.
nuget
11,909
questions
0
votes
0
answers
7
views
How to Check if all Packages of a Nuget Package Repository exist in another Repository
I want to check if all nuget packages in a private Nuget Repository also exist in the nuget.org package repository.
Is there a way to go through all packages in the private Repo, check if they exist ...
0
votes
1
answer
18
views
NuGet: Unable to load the service index for source
I use VS 2022. I need to use a specific source for nuget packages of my company. I have done all the steps described in this video (go straight to 1:45 - from this moment I start my work as a ...
0
votes
1
answer
20
views
Found conflicts between different versions that could not be resolved
Visual Studio Professional 2022 is reporting this error:
Found conflicts between different versions of "Kent.Boogaart.HelperTrinity" that could not be resolved.
There was a conflict between ...
0
votes
1
answer
45
views
How to update 100 of NuGet Package which is Vulnerable, Deprecated and Older version that is compatible with current code when Major Version Change [closed]
There are 150+ NuGet Package and some are Vulnerable, Some are Deprecated and most of the are not older version. I am updating NuGet Package one by one and see any incompatible issue arises. if any ...
0
votes
0
answers
24
views
Packing multiple projects into singular NuGet package
I would like to pack a Roslyn source generator and another project that contains the attributes the source generator acts upon together into one NuGet package. To do this, I've decided that using a ...
0
votes
2
answers
45
views
Docker Build Stuck at dotnet restore for linux/amd64 Platform on macOS: How to Fix?
I am trying to build a dotnet docker image for linux/amd64 architecture on my Apple Silicon. It works for other architectures but it get stuck at "RUN dotnet restore" when building for linux/...
0
votes
0
answers
13
views
Updating Nuget related Unity to latest cause error on WebAPIConfig Registration
There is an .Net solution that contains .Net 4.7.1 MVC Web App and .Net Core 8.0 Library and Web API.
Updated Unity and its related NuGet PAckage as given below.
Unity.5.8.5 -> Unity.5.11.10 and ...
0
votes
0
answers
14
views
How to make MSVC++ modules from NuGet available to import?
I want to publish my C++ modules to NuGet. However, tests have found that users are unable to import ixx modules in NuGet as they would with header files.
import ModuleFromNuGet; //Failed to build; ...
0
votes
0
answers
10
views
Azure Dev Ops Nuget package feed push authentication issues
I have a build server for .net. I am trying a quick poc of connecting to Azure Dev Ops and dropping a .nupkg file into a feed without interaction.
Here are the steps I have taken:
Set System EV of ...
0
votes
0
answers
23
views
SSL CONNECTION ERROR- Dotmim sync httpresponse
I have Implemented the dotmim.sync nuget package to sync the data from clent to server and server to client db
my client site uses a self signed certificate and the data is stored in sqlite db
My ...
0
votes
0
answers
42
views
dotnet build "Could not resolve this reference. Could not locate the assembly" error but only occurs on CI?
I have a simple CI that builds my solution on GitLab. The project consist of a .NET Core project and a WCF project. I am encountering an error after installing the latest version of Newtonsoft JSON ...
1
vote
1
answer
37
views
Should Nuget package versions match the .NET TargetFramework?
I've long assumed that when you upgrade the Target Framework of a .NET project, that all of the related System.* and Microsoft.* Nuget package references should also be updated to match, but Nuget ...
0
votes
0
answers
18
views
Nuget enforce HTTPS only traffic from AWS CodeBuild
I am running an AWS CodeBuild project to build, test and publish a .NET 8 application. The CodeBuild project is running/deployed in my account's VPC which, includes a NAT Gateway for outbound ...
0
votes
0
answers
14
views
API to get information/meta-data about a package from Package managers such npm, nuget, maven etc
I am working on a project, wherein i would like to get data about a package and its dependencies from various sources such as npm, nuget, maven etc.
Is there any way to do it. For example
In the ...
0
votes
0
answers
13
views
Nuget .NET peer dependencies
Nuget has the concept of peer dependancy, like Node and NPM (https://nodejs.org/en/blog/npm/peer-dependencies)?
I have a library with dependancy from Flurl, used for HTTP requests. It produce this ...