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
13
votes
7 answers

NuGet is returning 503 Server Unavailable

Is there a way to load a package from an alternative server when Visual Studio Package Manager (NuGet) is responding with a "The remote server returned an error: (503) Server Unavailable" message?
10
votes
3 answers

NuGet - disallow overwriting packages (with same name and version number)

I have setup a custom NuGet server for my company. It all works great - I can publish, view packages, etc. My only concern is that I can publish a package with the same name and version number, thereby overwriting the existing package. This is not…
niaher
  • 9,460
  • 7
  • 67
  • 86
9
votes
1 answer

NuGet Package Dependencies

Is it true that for every dependency that a package has on some other library, that those libraries need to be resolved and installed as well? For example, I created a package which uses NLog, Postsharp and WindowsAzure.Storage: Do clients of my…
Dave New
  • 38,496
  • 59
  • 215
  • 394
8
votes
0 answers

Way to mark Nuget-Package als Deprecated in a local repository

I´ve seen that there is a way to mark packages as deprecated on nuget.org (https://devblogs.microsoft.com/nuget/deprecating-packages-on-nuget-org/). Unfortunally I don't push my packages to nuget.org but to an internal file repository. So my…
she
  • 101
  • 2
8
votes
2 answers

Best way to maintain .NET project dependencies and updated binaries in large multi solution application

I know this is a vague question, but I spent hours of searching and couldn't find a solution. I have a class library project - A I have another class library project - B B has a reference to A I have another console application project - C C has a…
Alonzzo2
  • 959
  • 10
  • 24
8
votes
2 answers

How to automatically update nuget package dependency?

I have have two packages \ projects "A" and "B". Where "B" is depending on "A" and use it as a reference. When my build process in TFS is building "A" it's creating a nuget package from the nuspec and giving it a new version and put's it on my TFS…
Aviram Fireberger
  • 3,910
  • 5
  • 50
  • 69
8
votes
4 answers

NuGet Server With Caching

I have a build server that pulls nuget packages on every build, and currently have a NugetGallery deployed internally for custom packages. Right now that eats bandwidth like no tomorrow (not a huge deal, but I want to be kind and make things faster…
StrangeWill
  • 2,106
  • 1
  • 23
  • 36
8
votes
1 answer

Private intranet-level Nuget feed: Windows Integrated Security customization

I'm considering setting up Intranet-level Nuget feed(bunch of teams in my company are supposed to use it). I've looked briefly through some tutorials + appropriate chapters in Pro Nuget book, however I still do have some question left so far: How…
alex.b
  • 4,547
  • 1
  • 31
  • 52
8
votes
1 answer

Command line Push to Private NuGet Gallery fails with Failed to process request. 'OK'

I’ve set up a private NuGet Gallery from github.com/NuGet/NuGetGallery using instructions from here: http://dotnet.dzone.com/news/how-set-local-nuget-gallery The Gallery works ok, it allows users to log in and upload packages using the Web UI as…
Scott
  • 4,113
  • 6
  • 37
  • 49
7
votes
7 answers

NuGet - Installing Individual Packages reporting "The remote server returned an error: (404) Not Found."

When using a local NuGet server, whenever I try to install an individual package from that server, all I get is this error: "The remote server returned an error: (404) Not Found." The packages are all there in the filesystem and the feed itself…
Brandon Linton
  • 4,373
  • 5
  • 42
  • 63
7
votes
2 answers

How to use an API Key with dotnet restore with private NuGet server

I've created a private NuGet server (https://github.com/ai-traders/liget) which requires an API key to upload packages but not to download/restore them. I am sure I can enhance the code of the server to mandate the use of an API Key when restoring,…
Paul Grenyer
  • 1,713
  • 3
  • 30
  • 51
7
votes
2 answers

error while trying to push nuget package from VSTS

I added dotnet task (.Net Core) to do a nuget push. In the Nuget server section it asked me to use create a new Nuget Connection. I went with the API Key option and game in connection name,Feed URL, and API Key. when I run this step I get the…
kumar
  • 8,207
  • 20
  • 85
  • 176
7
votes
1 answer

NuGet private feed not updating DownloadCount

I have set up a small test Nuget private repository on my machine following this guide. Everything is working perfectly and I can publish packages, update versions, download them etc. The only problem is that the DownloadCount of my packages is…
Tallmaris
  • 7,605
  • 3
  • 28
  • 58
7
votes
4 answers

How to Fix 401 Authentication Error when Publishing to Self-Hosted NuGet Server

I followed these instructions to host a NuGet Server (version 2.2.2) on our Intranet. It works great as far as listing the packages and retrieving them in VS 2012. But when I create a package using the Nuget Package Explorer and try to publish it I…
Kevin Junghans
  • 17,475
  • 4
  • 45
  • 62
7
votes
1 answer

How do I make a build show up in my TeamCity public NuGet feed?

We use TeamCity 7.1.1 to publish NuGet packages on both the authenticated and public feed URLs. I've just created a new package and can't get it to show up on the public feed, though it does appear on the private feed once I log in. It smacks of a…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
1
2
3
19 20