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

Migrate nuget Packages From File Share To TeamCity Built-in

I have my nuget packages hosted on a file share, after using TeamCity I enabled the built-in nuget feed. Now comes the question, how I can migrate my old packages from file share to TeamCity so I can decommission the file share and just use the…
TechNerd
  • 910
  • 1
  • 10
  • 19
0
votes
0 answers

Multiple nuget respoitory(TargetFramework specific) or Single Respository

We are in the process of creating nuget packages for all of our .net framework inhouse libraries and we want to create the libraries targetting multiple .Net framework. We are confused like, do we need to have separate nuget repository for each…
classic_vmk
  • 495
  • 2
  • 15
0
votes
1 answer

NuGet packages built and published to TC own feed don't show up

Q/A - Today, we found that a NuGet library build and publish (to TeamCity's own feed) stopped working. The new packages stopped showing up. We can see them in the artifacts but not in the feed itself.
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
0
votes
1 answer

Nuget packages with common Names

I was playing with NuGet so I created a project, wrote two simple functions (multiply and add), packaged it with the following spec: Math 1.0.0.0 $title$
Massimo
  • 692
  • 2
  • 11
  • 29
0
votes
0 answers

Teamcity nuget server settings

I have TeamCity 9 with enabled nuget server. I configured creating nuget packages after build. I made all steps in this guide https://blog.jetbrains.com/teamcity/2011/12/setting-up-teamcity-as-a-native-nuget-server/ Is there a way to set nguet…
Mitklantekutli
  • 410
  • 1
  • 3
  • 16
0
votes
0 answers

Nuget not restoring symbols

We have a local nuget server on our build machine and publish our nuget packages to that server. We create the packages with the -Symbols option to crteate a .symbols.nupkg package and that is what is copied to the packages directory on the server.…
melston
  • 2,198
  • 22
  • 39
0
votes
2 answers

Nuget Push (update to package) - showing as new install in package manager

I have a very simple post build script which packages all dlls from my project to a custom nuget server. This works fine, however, when opening package manager from any solution, I see the nuget package as a new install, as opposed to the expected…
DavidReid
  • 449
  • 1
  • 5
  • 21
0
votes
1 answer

How to divide up Nuget packages based on Version in Nuget Server

So we are having a Nuget server that we push our product nuget packages to. Currently we are using semantic versioning to version our packages, and we want to be able to push older version fixes as a patch version change to the package while still…
NavidM
  • 1,515
  • 1
  • 16
  • 27
0
votes
0 answers

pushing nugetGallery to windows azure website getting error: The OutputPath property is not set for project 'NuGetGallery.csproj'

I took codebase from https://github.com/NuGet/NuGetGallery to push nugetgallery on my own azure website but failed. I'm getting following error and deployment failed. D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(609,5): …
Neo
  • 15,491
  • 59
  • 215
  • 405
0
votes
1 answer

LocalPackageRepository returns IsLatestVersion=true for all packages

I've created a folder on my C:\packages. Inside I've created two packages with identical Ids but have different versions. I the use Nuget.Core to create a LocalPackageRepository pointing to this directory. When I query for the packages using…
cgatian
  • 22,047
  • 9
  • 56
  • 76
0
votes
1 answer

Publish generated NuGet Packages with TFS 2015 RC

I am trying to set up an automatic build.vnext process for TFS 2015. This build process contains one Visual Studio Build build step, in which a .nupkg package file is created in the build agent's bin/Debug and bin/Release directories. I have a…
Finn Poppinga
  • 269
  • 4
  • 11
0
votes
1 answer

WebApi OData property route content negotiation

I am trying to mimic the behavior of NuGet.org that returns a package Id for an example URL like: http://www.nuget.org/api/v2/Packages(Id='Nuget.Core',Version='2.8.3')/Id This response looks like:
0
votes
1 answer

Internal NuGet install fails to install

I setup an internal NuGet server to host internal dll packages. The setup went smoothly. The spec and nupkg were created successfully. However, when I launch a test project and attempt to install it from Manage NuGet Packages it fails. The internal…
NKD
  • 1,039
  • 1
  • 13
  • 24
0
votes
2 answers

NuGet doesn't show items in feed, but can list via console

I recently upgraded to TeamCity 9, at first everything was okay. Then, for some unknown reason, I was unable to get a full list of available packages via the NuGet GUI. At first it appeared that all the portable class libraries where missing, then…
Meirion Hughes
  • 24,994
  • 12
  • 71
  • 122
0
votes
2 answers

Team Foundation Build with Private NuGet Feed

How can I configure Team Foundation Build to use a private NuGet feed I have setup with NuGet.Server? Locally I can add a source with: nuget.exe sources add -Name "Feed Name" -Source "https://feed.url/nuget/" How can I achieve this with Team…
drobison
  • 858
  • 1
  • 14
  • 23