Questions tagged [nuget]
NuGet is a free, open source developer focused package management system for the .NET platform.
nuget
11,912
questions
0
votes
1
answer
42
views
Why installation of dotnet-ef fails even if --ignore-failed-sources is specified
I'm building a .NET 6 project via Azure DevOps Pipelines. One of the step is to install the Entity Framework tools so a later step can generate a SQL migration script.
However, the installation step ...
0
votes
1
answer
20
views
Difference between using "dotnet pack" and "GeneratePackageOnBuild"?
I understand that using dotnet pack is intended for creating NuGet packages, and dotnet publish is intended for creating deployable DLLs/EXEs. However, using the GeneratePackageOnBuild property in the ...
0
votes
1
answer
58
views
dotnet restore and AzureDevops private feed in WSL
I need to run an Asp.Net Core application in WSL (Ubuntu 22.04), I'm trying to execute command:
dotnet restore
to restore my nuget packages from default nuget.org and from my private feed on Azure ...
0
votes
0
answers
15
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
28
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
30
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
46
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
25
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
55
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
1
answer
16
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
25
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
46
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
40
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 ...