Skip to main content

Questions tagged [nuget-package-restore]

Nuget Package Restore is a process that happens when a Visual Studio solution is loaded and some Nuget Packages are missing. This usually happens when a solution doesn't have its package contents checked into Source Control (which is a best practice).

nuget-package-restore
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 ...
smk081's user avatar
  • 1,010
0 votes
1 answer
74 views

NU1100: Unable to resolve Azure DevOps nuget package

We have an Azure DevOps nuget package that another service which is a net api uses without a problem. However, when this package is added to the worker service, pr pipeline fails at the "Restore ...
IbrahimD's user avatar
  • 943
0 votes
1 answer
29 views

Issue with Nuget restore for .Net core application using dotnetbuild

We have our application developed in .Net 6. While using dotnet build/msbuild nuget restore is getting error with letter 'v' we are using along with version number. Please let me know if there is away ...
AMDI's user avatar
  • 963
0 votes
0 answers
49 views

Nuget restore error - package signature file entry is invalid (field 'compression method' has an invalid value)

Share your knowledge of how to bypass the error NU3005 The package signature file entry is invalid. The central directory header field 'compression method' has an invalid value (8) because no explicit ...
Konstantin's user avatar
1 vote
1 answer
55 views

How can I fix an issue with restoring custom Nuget Packages?

I have recently started working on an already existing .net project but I am facing problems with building it as it keep facing an "Unable to find package" errors. Here is a picture of the ...
xTMx's user avatar
  • 77
0 votes
1 answer
54 views

'Unable to resolve' errors in Visual Studio

I had cleared the Nuget cache in my Visual Studio 2022. After that I received errors in ALLyour text my Visual Studio projects. The errors are: Unable to resolve 'System.IO.Pipelines (>= 8.0.0)' ...
michaeld's user avatar
0 votes
0 answers
47 views

Windows 2022 server not installing some Nuget packages

Recently Migrated .NET Web API project to Windows 2022 Server Environment, when restoring nuget packages related to SaxonHE11s9apiExtensions it failed. I have installed all the frameworks needed to ...
Shivanka's user avatar
  • 733
0 votes
0 answers
12 views

How do you get the contents of a nuget package to auto deploy to the output folder of a project that is referencing it

I have a nuget package that I've built and uploaded to our Nuget repository. In it are 2 native dlls. One for 32-bit and one for 64-bit. I'll be referencing them in various projects (net472, net6, ...
Ultratrunks's user avatar
  • 2,534
0 votes
0 answers
16 views

I can't detect a new version of my package in VS 2022 Package manager

I am currently experiencing an issue while creating a .nupkg file and trying to install it manually. My method involves placing the package.nupkg file in a specific folder located at C:\Program Files (...
Alexander Alhazov's user avatar
1 vote
0 answers
131 views

VS2022 Unable to Restore NuGet packages

I am running VS2022 on Windows Server 2022 (Version 21H2 - OS Build 20348.2340) on an existing application. When I load the app it tries to restore the nuGet pkgs but I am getting the following error: ...
77Vetter's user avatar
  • 239
1 vote
1 answer
654 views

Error NU1301: Unable to load the service index for source

Background I am troubleshooting the build pipeline of a greenfield project. Everything worked correctly before, recently I added a nuget package that comes from the same internal Artifacts Feed. To be ...
kbd's user avatar
  • 4,374
1 vote
1 answer
314 views

Unable to resolve 'Microsoft.NETCore.App.Ref (= 6.0.27)' for 'net6.0' when building using .NET 8.0

I am getting the below error while trying a build a project using .NET8. error NU1100: Unable to resolve 'Microsoft.NETCore.App.Ref (= 6.0.27)' for 'net6.0'. The machine doesn't have internet ...
subbaraoc's user avatar
  • 1,236
0 votes
1 answer
51 views

How to add custom nuget package when restoring the test project in sonar?

Net application. In project I am using custom nuget package. for example, In docker file I have used like RUN dotnet nuget add source https://nuget.pkg.github.com/myorg/index.json -n github -u $...
Niranjan godbole's user avatar
0 votes
1 answer
196 views

dotnet restore tries to restore something that it should not

I have a solution (.sln) containing a bunch of C# projects (.csproj) that I develop both in Visual Studio and in Visual Studio Code (for historical reasons; the older ones in VS, the newer ones in VSC)...
Kjara's user avatar
  • 2,792
0 votes
0 answers
31 views

.NET 6 Custom Nuget package referencing other packages - Do I have to include the other packages myself?

In my project I am using a NuGet package that was written by the team that I'm a part of. Say it's called MyNugetPackage. MyNugetPackage references another NuGet packages, such as Microsoft.Extensions....
CodeCraftsman's user avatar

15 30 50 per page
1
2 3 4 5
60