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
59
votes
8 answers

How to remove a specific version of a package on a TeamCity Nuget Feed?

Does anyone know to remove a specific version of a package on a TeamCity Nuget Feed?
matt_dev
  • 5,176
  • 5
  • 33
  • 44
31
votes
8 answers

405 Method Not Allowed in NuGet Push

My NuGet server is throwing a 405 Not Allowed when I try to make a push. At least, thats what NuGet console says: Failed to process request. 'Method Not Allowed'. The remote server returned an error: (405) Method Not Allowed.. But when I look at…
tucaz
  • 6,524
  • 6
  • 37
  • 60
25
votes
2 answers

Configuring NuGet server to use Authentication

The release notes for NuGet 1.5 state NuGet now supports connecting to private repositories that require basic or NTLM authentication. However, the link contained in there simply leads to the hosting your own nuget feeds page, without any further…
Wilbert
  • 7,251
  • 6
  • 51
  • 91
24
votes
1 answer

GET a package from NuGetV3 API

I'm interested in writing a client library for the NuGet v3 API in a non-.NET language. What are the requests required to get a package, and what does the response looks like? i.e. GET {package-versions} GET {package-version} Can you also link to…
James Ko
  • 32,215
  • 30
  • 128
  • 239
23
votes
3 answers

Hosting your own NuGet and Symbol Source server?

I know that we can host our own private / internal NuGet server, but is there a way to also hosting your own Symbol Source server that links to your private NuGet packages? My company's policy doesn't allow publishing source code, even to…
Saxman
  • 5,009
  • 11
  • 51
  • 72
22
votes
3 answers

Automatic Package Restore: Unable to find version of package

We are using the improved Automatic Package Restore process to restore missing NuGet packages. When building, the Restore dialog pops up as it starts to download from the package sources, which is correct: I can see that the packages are being…
21
votes
6 answers

how to get all nuget dependencies for offline installation

I use two computers, one with internet connection and the other one without. I want to install a Nuget package (Nuget.server) with all its dependencies on the offline computer. Unfortunately it is not possible just to download the package itself and…
Colleen MacRay
  • 213
  • 1
  • 2
  • 4
19
votes
6 answers

Pushing to private nuget feed Prompts for Credentials

I have set up a private nuget feed using a empty web application and the nuget server package. It is all working, I can retrieve from the feed, and I can publish to the private feed using the Nuget Package Explorer. But I cant publish via the…
Noel
  • 1,968
  • 3
  • 20
  • 38
18
votes
4 answers

How should I tell TeamCity's NuGet Installer build step to use both NuGet.org and the TeamCity provided packages source?

I'm having trouble with my NuGet Installer build step. We're using both official NuGet.org packages and our own packages hosted on the TeamCity NuGet server. If I leave Packages Sources blank, then packages from nuget.org are found, but as soon as I…
CoderDennis
  • 13,642
  • 9
  • 69
  • 105
16
votes
4 answers

Self-Hosting NuGet

I have been looking at self hosting NuGet, having a hard time understanding how to set it up and how it would help support our development process. Does anyone have any recommendations as to which to use, how to set it up? Or should I just use a…
Jason Watts
  • 3,800
  • 29
  • 33
15
votes
2 answers

Using NuGet for Internal & External Dependencies in TFS

I'm currently looking at NuGet to solve my dependency problems in TFS and what I wanted to do is to host my own NuGet server that would take care of internal dependencies. I also want to use NuGet to handle my 3rd party dependencies as well. I'm…
Cole W
  • 15,123
  • 6
  • 51
  • 85
14
votes
4 answers

The underlying connection was closed: An unexpected error occurred on a send.--- NuGet

Whilst trying to restore nuget packages I am getting the following:- Error 1 The underlying connection was closed: An unexpected error occurred on a send. Error 2 The underlying connection was closed: Could not establish trust relationship for…
Anicho
  • 2,647
  • 11
  • 48
  • 76
13
votes
1 answer

Installing NuGet package with dependencies on multiple sources

My job has a private NuGet repo. I'm able to install packages from it and from nuget.org. I'm running into problems when there's a package stored on the private repo that has a dependency on a package hosted on nuget.org. For instance, my private…
Opossum Posse
  • 171
  • 1
  • 6
13
votes
10 answers

NuGet.Server returns 404 error

I have followed the instructions to setup and host my own NuGet feed. I am running the web application on a Windows 2012 (IIS 8.5) box. I build and run the solution and get the default.aspx page... Which says "You are running NuGet.Server…
user2839499
  • 133
  • 1
  • 1
  • 6
13
votes
4 answers

500.19 Error when running nuget gallery from iis

I'm trying to run a local install of Nuget Gallery but get a 500 error related to a bad config file. However, this only happens when running from IIS. If I run from IIS Express it works fine. Can anyone give me any pointers? Error Summary HTTP…
devlife
  • 15,275
  • 27
  • 77
  • 131
1
2 3
19 20