Questions tagged [nuget]
NuGet is a free, open source developer focused package management system for the .NET platform.
nuget
11,907
questions
0
votes
0
answers
15
views
Grpc.Tools C# ProtoCompile classes generation : No such file or directory
I'm running into a really weird error. My C# classes protoc generation process isn't working anymore. But it used to works properly, and I'm not sure that I changed anything (I'm fairly certain that ...
0
votes
1
answer
38
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
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
21
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
27
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
21
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
32
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
30
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
15
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
12
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 ...
0
votes
1
answer
309
views
Mitigating vulnerability in runtime libraries
We run dotnet list <Solution>.sln package --vulnerable --include-transitive --source https://api.nuget.org/v3/index.json nightly on our CI server to check wether we have a dependency on any ...
0
votes
1
answer
37
views
Nuget dependencies are not copied to the target directory (net472 vs. net80)
I have a project that can be extended via plugins. The plugins are loaded via MEF, so there is no direct dependency from the EXE to the plugins.
The following image shows the Project dependencies. As ...