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
5
votes
1 answer

Why use SSL for the NuGet repository?

We had an issue with our automated build machine yesterday. We are using a TFS Build server, and when it tried to automatically download NuGet packages, we got the infamous "The underlying connection was closed: Could not establish trust…
SouthShoreAK
  • 4,176
  • 2
  • 26
  • 48
5
votes
0 answers

How to troubleshoot SymbolSource Server Basic

I have SymbolSource Server Basic installed and running, following the instructions in this blog entry. I can successfully push packages (*.nupkg and *.symbols.nupkg) from TeamCity to my server with no errors. However, while the NuGet side works…
David White
  • 3,014
  • 1
  • 32
  • 35
5
votes
6 answers

Nuget Server responds with (405) Method Not Allowed while pushing or deleting a package

I am getting a (405) Method Not Found error when attempting to push a package to my locally hosted Nuget Server (Nuget.Server package) hosted on IIS 7.5 on Windows 2008 R2 Enterprise. There is a dedicated IIS site configured for the nuget server…
Norman H
  • 2,248
  • 24
  • 27
5
votes
3 answers

how to specify location of nuget packages when package restore is enabled?

I am working on a .net solution and use nuget for my package management. I have selected the option to "Enable Nuget Package Restore" so that the nuget packages not checked in to source control. Prior to this I had a nuget.config file at the same…
amateur
  • 43,371
  • 65
  • 192
  • 320
4
votes
2 answers

NuGet.Server Bad Request

I am currently trying to setup a NuGet server on our intranet but I'm having a problem. I'm following the instructions here: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds The website works fine, but when I try to point…
Odd
  • 4,737
  • 6
  • 30
  • 27
4
votes
2 answers

Missing reference on successful NuGet package installation

I am following this guide to setup my own NuGet private server, but using Visual Studio 2010. I have successfully added the NuGet.Server package through Package Manager Console, but when I want to build the WebApplication I got errors: The type or…
hendryanw
  • 1,819
  • 5
  • 24
  • 39
4
votes
1 answer

NuGet packages do not show after pushing to private NuGet Feed (NuGet.Server, IIS)

I followed the instructions on Hosting Your Own NuGet Feeds: Create an empty web application Installed the NuGet.Server package Set ~/Packages as the packagesPath in Web.config Set my API key in Web.config Created the .nupkg file from a class…
Greg Burghardt
  • 17,900
  • 9
  • 49
  • 92
4
votes
1 answer

Unable to delete NuGet package on server

I am unable to delete a NuGet package that I have uploaded onto our local NuGet server, the NuGet server is v2.8.50320.36 and the command line NuGet.exe is 2.0.6. When I use the following command: nuget delete Newtonsoft.Json 6.0.3 myapikey -source…
openshac
  • 4,966
  • 5
  • 46
  • 77
4
votes
3 answers

NuGet feed hosting options including MyGet

I have been investigating options for NuGet feed hosts. Currently, we use TeamCity to build/publish packages to TC's built-in server. For a Visual Studio package-source pointed to TC, we've found that the subscription/update process to be painfully…
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
4
votes
2 answers

Private Nuget Server Returning 503 error for me, but nobody else

Okay, here's another weird one... I have installed and setup an in house nuget server for our company - it is running the latest version on nuget (2.2.31210.9045). I can hit the url in my browser (http://{server}) and (http://{server}/nuget) and…
Robin
  • 1,074
  • 8
  • 29
3
votes
1 answer

Archiving Old Packages

We host our own private NuGet Feed. I've noticed that when there are numerous versions of the same package, it can take a long time for the Package Manager dialog to display the packages in the feed. If I move everything but the latest, or…
cadrell0
  • 17,109
  • 5
  • 51
  • 69
3
votes
1 answer

Installing private feed Nuget packages from packages.config

I have a private nuget feed on one of our internal servers. I can install packages in this feed from command line like this nuget install "PackageName" -source "\\DevServer\NugetFeed" However if I try to install the packages from our…
Gavin
  • 17,053
  • 19
  • 64
  • 110
3
votes
2 answers

Nuget package backup

It has been common practice to check nuget packages used in a solution into source control. With the new package restore feature of nuget 1.6 it is no longer necessary to check packages into source control. However, this leaves your projects…
Alex
  • 9,250
  • 11
  • 70
  • 81
3
votes
3 answers

NuGet packages get stale? "Failed to download package correctly. The contents of the package could not be verified"

We're experiencing a strange issue with our local NuGet package server. Over time, it appears that packages become unavailable, and the only fix seems to be touching the .nupkg file (e.g., just opening the file in Package Explorer) or just create a…
Brandon Linton
  • 4,373
  • 5
  • 42
  • 63
3
votes
2 answers

Nuget packages with both debug and release

In our work we have one team that develops libraries and other teams that develop projects using those libraries. The libraries team has much more experience than the projects one. We created this environment here: All the libraries are in nuget…
Luiz Bicalho
  • 813
  • 1
  • 12
  • 30