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

nuger.server's FindPackagesById() is not returning pre-release packages

I am trying to query the nuget server using the FindPackagesById() web method. But it is not returning the pre-release versions of the package. I am sure that there's a way to do it. Any help would be appreciated. ;0) The example below is how I am…
Zorthgo
  • 2,857
  • 6
  • 25
  • 37
3
votes
1 answer

Missing packages in private nuget feed

I'm trying to restore packages from a local nuget feed that was setup to prevent going to nuget.org for all the packages. I can see all the packages in the visual studio UI when pointing at my private nuget feed. However in the browser view if I…
Jonathan Bick
  • 939
  • 2
  • 9
  • 14
3
votes
0 answers

How to enable login option while configuring my Nuget (private) feed in visual studio

I want to enable the login option for Nuget feeding in visual studio. If a user configures my feed in visual studio. I want to enable login option. The login popup contains email and password (I have a database for user details). After successfully…
3
votes
1 answer

.NET standard assemblies: create nuget packages that can be used by .NET Core and full .NET hosted by local Nuget.Server

I've got an an assembly that targets netstandard 2.0 so that it can be used from .NET Core and full .NET Standard projects. I'm using the dotnet pack command to create a nuget package which is then being pushed into a local nuget host server…
Luis Abreu
  • 4,008
  • 9
  • 34
  • 63
3
votes
1 answer

Nuget package failing on Install and on push

I recently created a huge NuGet package (more than 2000 files, most of them just Content, and 15Mb). Creating a NuSpec and packing it worked fine. Then I went to a next step: testing it. First I tried intalling it locally, but the installation…
Matias G H
  • 41
  • 6
3
votes
0 answers

nuget.exe doesn't return all versions of specified package

I'm using the latest stable version of nuget.exe (4.3.0) and attempting to get all versions of a package. This returns only one version: nuget.exe list OBeautifulCode.Math.HashCodeHelper -allversions -prerelease -includedelisted -source…
Suraj
  • 35,905
  • 47
  • 139
  • 250
3
votes
6 answers

unlist all versions of a nuget package from VSTS package feed

I have a package in a private package feed of my Visual Studio Team Services (VSTS) account and want to unlist all versions of my package since it's deprecated and has been superseded by a different package.Thus I want to mark the old package as…
Peter
  • 1,361
  • 15
  • 19
3
votes
0 answers

Local NuGet feed (network share) doesn't list packages in VS 2017

We have a local NuGet feed in a network share accessed via a UNC path \\server\ourNugetFeed. This has been working fine in Visual Studio 2015, and we have successfully developed and deployed a couple of custom NuGet packages, as well as been able to…
Jiveman
  • 1,022
  • 1
  • 13
  • 30
3
votes
1 answer

Visual studio nuget is not using the HTTPS configured feed and use HTTP instead

I have created a nuget teamcity feed on a https url : https://teamcity:xyz/httpAuth/app/nuget/v1/FeedService.svc/ When I push to this url or list package in visual studio it works but when I install the package from the package management console…
jboo
  • 364
  • 6
  • 14
3
votes
3 answers

Get Nuget to pass a client certificate to a private ProGet server using SSL

I have a ProGet server that currently uses SSL and requires a client certificate in order to communicate with it. We would like to be able to use this server directly from the command line or within the Visual Studio package manager. When accessed…
oceanexplorer
  • 1,209
  • 3
  • 11
  • 24
3
votes
1 answer

NuGet Server - Access custom private NuGet gallery based on dynamic Feed URL

I need to provide private NuGet patch for the customers. We have more number of customers. We are in the position to provide different NuGet Patch to all needed customers. Now, I have followed below approach for provide NuGet patch provided each…
Mathan Kumar
  • 116
  • 1
  • 6
3
votes
1 answer

Nuget.Server can list packages but 404's on package install

So I have an ASP.Net Nuget Server running on a machine on our network. I'm using .Net 4.6 with Nuget.Server version 2.11.2.0 and IIS 8. This is connected to our automated build system so the packages are automatically created and copied to the…
Dillanm
  • 876
  • 12
  • 28
3
votes
0 answers

How to create own NuGet V3 API

Now we have our own nuget feed using NuGet.Server v2.10.1 , we are facing issue in installing UWP NuGet packages, the packages listed in Visual studio but cant able to install getting not found error, after referred in some sites, they told to use…
Nagaraj M
  • 480
  • 3
  • 17
3
votes
1 answer

push NuGet packages to TeamCity NuGet server

I have turned on TeamCity's NuGet Server and I want to push in common packages (i.e. from public sources such as NuGet.org) because the build server cannot see outside our company, so restoring packages on the build server from NuGet.org is not…
Colin Mackay
  • 18,736
  • 7
  • 61
  • 88
3
votes
0 answers

Nuget packages are not visible after publishing to private website

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…
Neeraj Kaushik
  • 354
  • 1
  • 5
  • 20