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
1
vote
1 answer

Azure DevOps Server as NuGet "proxy" server

I have Azure DevOps Server which will run build tasks on workstations without internet connection. The DevOps server itself can connect to internet. I'm trying to configure Devops server in a way that when the build on one of the workstations needs…
1
vote
0 answers

Failed to publish the nuget package due to time out issue

Our builds on TFS fail intermittently with the following error . when the build step "Nuget publisher(version 0)" hits the default 5minutes timeout I get this error. This seems to be not relevant to a particular build machine or build…
kranthi
  • 11
  • 2
1
vote
1 answer

TeamCity Nuget update private package only

We have a .net solution with around 30 projects in it. We have a dependency on another internal project ( not in the same solution ), for which we use TeamCity NuGet to get the latest packages. Currently, We update all packages using nuget…
Anirudh Bagri
  • 2,346
  • 1
  • 21
  • 33
1
vote
0 answers

Nuget.Core Download all Nuget-Packages Authentication failing

I want to download all nuget packages from a private nuget feed, but my authentication is failing. public void DownloadPackages(string repositoryPath, string directoryPath) { var repo = PackageRepositoryFactory.Default …
Peter
  • 1,655
  • 22
  • 44
1
vote
2 answers

NuGet push version 3.1.2 returns 405 HTTP error (method not allowed)

I use a private NuGet.Server with the newest version 3.1.2. My IIS has the WebDAV feature not installed.   Therefore the other recommendations in how to fix the 405 (method not allowed) error, didn't resolve my issue. My IIS NuGet app has the…
rogaa
  • 370
  • 2
  • 16
1
vote
1 answer

Made a nuget package, installed it on a project, but now it doesn't show up in the reference list

I'm making a nuget package for my own internal use called BlobUtils. However, when I install it, my code doesn't recognize the "using" statement and it doesn't show up in the references list. I opened up the package in NuGet Package Explorer, and it…
Slothario
  • 2,830
  • 3
  • 31
  • 47
1
vote
1 answer

Hosting private nuget server issue

I have setup my own nuget feed and have hosted that on our dev server. When I try to push my packages from my local machine to dev machine as below: dotnet nuget push C:\MyProjects\Common.2.0.0.nupkg -k myapi -s https://mydev.com/AENuget/ I get…
aman
  • 4,198
  • 4
  • 24
  • 36
1
vote
1 answer

NuGet package restore tries to retrieve in all configured NuGet sources

While installing the NuGet packages from the NuGet package manage, having configured multiple NuGet package sources in VS2017, the NuGet client tries to retrieve the package in all the configured NuGet sources and returns messages like "Not…
1
vote
2 answers

Error 411 on pushing nuget package to Nuget.Server

I have successfully setup Nuget.Server from http://nugetserver.net. I can access http://localhost/ site and http://localhost/nuget/Packages. Unfortunately, every nuget push causes the following error: Pushing Sample.1.1.0.nupkg to…
pwas
  • 3,225
  • 18
  • 40
1
vote
1 answer

Automatic NugetPackage upload to Nuget feed

Is it possible to automatically upload a Nuget package to a feed when building a project using Visual Studio 2017 and .net core? I can check the option to automatically generate the package, but I don't know how to automate the publish…
user1275011
  • 1,552
  • 1
  • 16
  • 36
1
vote
2 answers

Visual Studio 2015/2017 local NuGet feed HTTP 403

We've created a local NuGet feed with Nuget.Server. It is a simple ASP.NET application that is hosted on an IIS web server that is part of our local company network. The url of the feed looks like this: https://abc.company.com/packages/nuget The…
1
vote
1 answer

NuGet Server cannot find .nupkg package files

Okay this is a derivative of Could not load file or assembly 'NuGet.Server, Version=2.11.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies seeing as though I couldn't find a solution to that. I am publishing my Nuget Server…
Harold_Finch
  • 682
  • 2
  • 12
  • 33
1
vote
3 answers

Could not load file or assembly 'NuGet.Server, Version=2.11.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies

So I have created a NuGet Server via an ASP.Net Web Application following this tutorial: http://nugetserver.net/ which is hosted in IIS. I have placed the files on my D: drive on my server along with my packages. IIS Sites Virtual Path: I get the…
Harold_Finch
  • 682
  • 2
  • 12
  • 33
1
vote
1 answer

Visual Studio 2017 unable to connect to Nuget

i have a problem, when i tried to Manage Nuget Packages VS2017 showed me this message: [nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request. The underlying…
pampua84
  • 696
  • 10
  • 33
1
vote
1 answer

Nuget.Server on Mac OSX

I followed this steps to setup my own nuget server on local machine (Mac) https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server I got to step 6 and then when i click "here" it gives me the following error System.Web.HttpException The…
vivianaranha
  • 2,781
  • 6
  • 33
  • 47