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
2
votes
0 answers

migrating NuGet packages from one VSTS account to another

I am trying to migrate NuGet packages hosted in one VSTS account to a new VSTS account but so far I have not found any CLI tools or scripts to do this. There's some stuff out there like NuGet Mirror but they all seem designed for public feeds only…
Andrew
  • 71
  • 4
2
votes
1 answer

Not enough storage is available to complete this operation - Azure App Service, Nuget.Server

I'm running an ASP.NET MVC app (4.6.1) hosting Nuget.Server on an Azure App Service under a sub application. It's been working fine for weeks ... all of a sudden I'm getting the following: Server Error in '/nuget' Application. Not enough storage is…
2
votes
1 answer

How can I add node in nuget package release?

I have just started learning about TFS and Nuget packages. So every time I release the new nuget package. I could see the version, Author, Date, publish, Tags and Descriptions (See image 1 below). Now, I want to add a field called Release Notes. For…
Son_In8
  • 21
  • 2
2
votes
2 answers

VSTS Nuget Installer fails to authenticate with package feed

I have a package feed on VSTS providing several packages that I reference in a solution that is also being built on VSTS. The builds have suddenly started failing at the package restore phase with the logs indicating that it cannot find the dlls…
2
votes
2 answers

NuGet Package List Empty on TeamCity NuGet Server

I've set up TeamCity (9.1.6) to work as a NuGet server. I have a project that I added a NuGet Pack build step. The artifacts of that build configuration are *.nupkg files. However, when I view either the authenticated or the guest NuGet feed, the…
kenstone
  • 526
  • 7
  • 14
2
votes
1 answer

Could not install NuGet package with the correct .NET version

I created a few packages on my internal NuGet server (hosted by TeamCity). All packages work as expected except one. I getting error: Could not install package 'MYPACKAGE'. You are trying to install this package into a project that targets…
Pawel Maga
  • 5,428
  • 3
  • 38
  • 62
2
votes
0 answers

Package manager doesn't see internal NuGet packages published before today

We have an internal NuGet package feed (published from TeamCity), and after updating VS2015 NuGet Package Manager as prompted by VS, I can't see any packages in the feed that were published before the NuGet Package Manager update. I can navigate…
Gabe Haack
  • 536
  • 4
  • 7
2
votes
1 answer

What's the easiest way to get a package from nuget.org into a private nuget server?

We're looking at running a private NuGet server. I know products like ProGet have functions to get packages from NuGet and put them into a private feed. We're more interested in a bare bones approach if possible. I built and deployed a NuGet server…
Richard Schaefer
  • 525
  • 3
  • 13
  • 45
2
votes
0 answers

NuGet allowOverrideExistingPackageOnPush Stops Symbol Packages Being Published

Version 2.8 of NuGet server now provides a flag in the web.config called allowOverrideExistingPackageOnPush which allows you to decide if you want existing package versions to be overwritten. We decided to set this to false on our internal…
Steve Pettifer
  • 1,975
  • 1
  • 19
  • 34
2
votes
1 answer

Can't hit NuGet server hosted on an Azure website from Visual Studio, but can from web

My problem is that I have a NuGet server on an Azure website using Azure AD for auth. It works as expected if I hit the NuGet URL in Chrome (requires the login, which accepts appropriate credentials), but if I try to access it in Visual Studio 2013…
greenstone
  • 51
  • 5
2
votes
1 answer

Delete all but last 10 NuGet packages \ NuGet package retention feature request

We would like to start using ProGet for dependencies in CI builds & their dependencies, however this can cause a lot of NuGet packages to sit in the feed and the only option is to delete one at a time or the entire feed. Is there an alternate way to…
Gary Howlett
  • 1,297
  • 1
  • 14
  • 17
2
votes
0 answers

Why does ProGet handle leading 0's in build numbers differently from nuget.org?

When I use nuget.exe to install Moq 4.2.1502.911 using nuget.org (https://www.nuget.org/api/v2/) as the source, the folder name is Moq.4.2.1502.0911. When I upload the same package to a ProGet server and try to use nuget.exe to install that package,…
neverendingqs
  • 4,006
  • 3
  • 29
  • 57
2
votes
1 answer

ProGet unauthenticted feeds; no user/password required

Is it possible to create an unauthenticated nuget feed in ProGet where user credentials do not have to be supplied to access the feed?
user514005
2
votes
1 answer

Nuget Package download and add to the reference

I am hosting my own nuget server to download the packages. I have package which copies some dlls to the bin folder of the specified project. This all works fine. Is there anyway to add references automatlically to the dll when installing the…
Joshua
  • 2,275
  • 7
  • 41
  • 57
2
votes
1 answer

NuGet self hosting: why bother with a Nuget.Server when a simple Shared folder works well

In my company, we want to publish our internal libraries and tools using an internal NuGet package source. There are plenty of examples of how to build your own NuGet Server, hosted in an IIS. But it is also possible to simply put all your .nupkg…
Askolein
  • 3,250
  • 3
  • 28
  • 40