Questions tagged [nuget-server]

Hosted or on-premise NuGet package repositories based on the open-source NuGet Gallery or NuGet.Server library.

A NuGet server usually is based on the NuGet.Server library, or based on the open-source NuGet Gallery.

NuGet servers are NuGet package repositories exposing a NuGet feed for consumption by a NuGet client and providing a way of securing and controlling access to the repository by means of an API-key, authentication and authorization.

As such, a simple network share containing NuGet packages should not be considered a NuGet server.

293 questions
1
vote
1 answer

Publishing to local Nuget gallery time out after 100s, but actually works anyway

We are trying to use Nuget for our internally generated packages. We have setup a local nuget server and verified that we can see it from Visual studio. If I copy a .nupkg file into ~/Packages manually they show up and can be added to a new…
Adam
  • 3,014
  • 5
  • 33
  • 59
1
vote
1 answer

404 when listing packages via NugetCommandLine

I'm getting a 404 when performing nuget list -source http://mydomain/nuget The 404 is actually coming from /Nuget/$metadata. From the iis logs: 2011-10-17 23:24:27 172.27.72.94 GET /Nuget/$metadata - 80 - {ipAddress} - 404 0 2 46 Anyone have any…
devlife
  • 15,275
  • 27
  • 77
  • 131
1
vote
3 answers

Can the "author" field on Nuget be spoofed? Can I trust the file's authenticity?

I'm browsing Nuget libraries from an author and see questionable content.. something that doesn't have the same quality as some of the prior work I've seen. How do I know that the author of a Nuget package is really that person? Can I extend that…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
1
vote
0 answers

Nuget Gallery package source not found

I have set up NugetGallery https://github.com/NuGet/NuGetGallery on my own server and am able to access the UI and perform all operations. However, I have been unable to locate the link that needs to be added to the Visual Studio NuGet package…
1
vote
1 answer

NuGet Package Source limited to specific author

Is it possible to configure a NuGet source to only allow pulling of packages from a specific root author ? My specific use-case : Visual Studio NuGet Package Manager Microsoft packages only You might be wondering why ? The answer relates to trust in…
1
vote
0 answers

Get ReleaseNotes from nuget feed programatically when possible

Some packages like AngleSharp have 'Release Notes' in their nuget feed. IPackageMetadata.cs have ReleaseNotes but it seems this is only used when creating a package. Is there a way to get ReleaseNotes when possible? PS: there is an example for…
Bakudan
  • 19,134
  • 9
  • 53
  • 73
1
vote
2 answers

"No packages found" when having Azure Artifact as package source

Due to the usage of Babel, that require us to host ourself the package manager on a private repository, we are using Azure Devop as a source of our packages. But now when we look for any package that is not yet somewhere in the solution, we end up…
J4N
  • 19,480
  • 39
  • 187
  • 340
1
vote
1 answer

Copy nuget package content file (of type .exe) to output directory of project using that nuget package

I have some project which has some exe as "dependency" and I build that project as nuget package from .csproj file File looks like this: netstandard2.0
Vlado Pandžić
  • 4,879
  • 8
  • 44
  • 75
1
vote
0 answers

NuGet private server returns 502 (Bad Gateway) when pushing new package

I deployed new private NuGet server (NuGet.Server.3.4.1) and set up API key in web.config. Then I created first nuget package from my .net core class library project. But when I try to run following command dotnet nuget push packageName.1.0.0.nupkg…
Muflix
  • 6,192
  • 17
  • 77
  • 153
1
vote
1 answer

Nuget resource change from https to http

I try to upload a NuGet package but a receive this error: An error was encountered when fetching 'PUT http://nuget_domain/api/v2/package/'. The request will now be retried. But in the https://nuget_domain/v3/index.json is…
CarlosS
  • 161
  • 1
  • 13
1
vote
0 answers

Where is the extra folder configured for NuGet.Server v3.4.1.0 that is causing the 404 Not Found Error

I have read other posts with people having issues with the 404 Not Found error when building their own local version of NuGet.Server. None of them specifically asked about what I am seeing as an issue. I followed the instructions at…
Sudonim
  • 89
  • 7
1
vote
0 answers

Specifying Nuget Package Platform Target

I want to create a Nuget Package for a C# library that targets .NET Framework 4.0 and higher. If I put my library in a directory named Net40, will this cause issues for projects that target say 4.1 and higher? Should i just publish my library in a…
Russell Chidhakwa
  • 339
  • 2
  • 5
  • 16
1
vote
2 answers

Own Nuget Server - The V2 feed at '' returned an unexpected status code '404 Not Found'

I created my own Nuget Server following the documentation and I got it, but I cannot access the packages from Visual Studio 2019 Community Nuget Package Manager. So, when I do it through a browser I get this, which seems fine: When I click on…
1
vote
0 answers

Why nuget package installation failed due to not responding of irrelevant package source

I was playing with dotnet cli to create f# project. I ran the following command to install NewtonSoft.Json NuGet Package. $>dotnet add src/Library/Library.fsproj package Newtonsoft.Json the output is Writing…
Siva Sankaran
  • 1,521
  • 4
  • 21
  • 40
1
vote
1 answer

Keeping Nuget packages updated in many projects/solutions

If using the same nuget package(s) over multiple solutions, how do I keep them up to date without having to open up every solution and update packages when a new version is released? Folder structure is typically something like this but over many…
Syntax Error
  • 1,600
  • 1
  • 26
  • 60