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

Nugetserver onpremise unable to run due to newtonsoft.json version

Target set as .net 4.6 in a vs2015 environment. All fetch and built no errors. Used https://www.hanselman.com/blog/HowToHostYourOwnNuGetServerAndPackageFeed.aspx and MS doco as reference. When run under IIS, shows error below How do I resolve…
Greg B Roberts
  • 173
  • 4
  • 14
0
votes
1 answer

Pull NuGet from Nuget.org or from our own Nuget Server?

We are running a TeamCity Continuous Integration System which has its own built-in NuGet server. We have our own proprietary NuGet packages being published to there. One of those NuGet packages we created is a NuGet that contains all of our…
ConfusedDeer
  • 3,335
  • 8
  • 44
  • 72
0
votes
1 answer

How can we set locally cached settings to "FALSE"?

I want to set locally cached settings to false for particular nuget package. Is this possible ?
vijay
  • 701
  • 2
  • 12
  • 26
0
votes
1 answer

Install nuget packages with permissions

using vs 2017 is it possible to control/permission who can install packages in a solution without using Team Services or other third party tool? thanks
developer9969
  • 4,628
  • 6
  • 40
  • 88
0
votes
1 answer

How to add Nuget Package Source at runtime?

I have a Nuget.Server http://localhost/ABC. I have to use this as feed in a project. I can ask user to input the URL to Nuget server now how can I add it and use it in same session in C#? I don't want to add manually to Package Manager. I have an…
MiniKh
  • 61
  • 7
0
votes
1 answer

Install Nuget Package in UWP

I want to add SQLitePCL package in my UWP project. ( It is already installed in one another UWP project.) But now I am trying to browse the package and it shows an error. [nuget.org] Unable to load the service index for source…
VISHAL TANK
  • 215
  • 4
  • 9
0
votes
1 answer

Why is nuget not adding my file?

I have this nuspec file: My.Package 1.0.1.7 My Package My name Mu author
Martijn
  • 24,441
  • 60
  • 174
  • 261
0
votes
1 answer

Attempting to install NuGet server on iis 10 on w2016 yields 404 not found error

My environment: Windows 10 Creator (1703 with current updates to this date) Visual Studio 2017, Enterprise, 15.3 with most of the goodies turned on. Windows 2016, again with all current updates. iis 10 with WebDeploy installed (that's a whole…
Fred
  • 597
  • 1
  • 4
  • 14
0
votes
0 answers

Nuget package restore from a private feed to Jenkins workspace errors out with "(403) Forbidden"

I am using a privately hosted Nuget server (intranet). I can restore the packages using Visual studio package manager. I can restore them using nuget.exe v2.8.5 CLI command. But when I build the JENKINS project, it throws warning on 'Restore…
0
votes
1 answer

How to consume VSTS internal package server with VSTS build agent "Hosted Linux Preview"?

For some reason, I have to use build agent "Hosted Linux Preview", so I can only use "dotnet restore" instead of "nuget restore", and now our team has internal package server built on VSTS. In "nuget restore" step, there's option for connecting to…
0
votes
1 answer

VSTS internal package server with – version-suffix doesn't really push to server, some other questions

Question 1: I'm using VSTS internal nuget server, I have some problem while playing with it. Now I have a build definition publishing to VSTS internal package server as below, where I set --version-suffix as build number After build and publish…
Elaine
  • 1,288
  • 5
  • 17
  • 35
0
votes
2 answers

Build fails in TFS by giving an error "Packages failed to publish"

When I publish a NuGet to TFS using a build step, I get following error messages: 2017-05-26T09:58:26.8605708Z ##[error]Error:…
Arshath Shameer
  • 453
  • 4
  • 15
0
votes
1 answer

Nuget server migration to TeamCity nuget server

I'm in the midst of retiring an old server we have in our environment. One of it's functions was to act as a nuget server. Is there a way to migrate the package that exist in the old nuget server and move them over to TeamCity's nuget server? …
jdgonzalez
  • 81
  • 7
0
votes
1 answer

Nuget Push throwing 404 error "The remote server returned an error: (404) Not Found.."

I'm trying to set up the Nuget in our new build server ( Windows Server 2012 Standard). I have set it up as a website in IIS(V 8.5). Nuget commands like Get-Package and Install-Package works fine, but nuget push throwing 404 resource not found .…
VeeYemYem
  • 5
  • 6
0
votes
1 answer

Is there any benefit of uploading package on nuget?

I am wondering there is no benefit of uploading package on nuget then why people spent too much time to create a package and upload it on nuget?
user7283114