Nugetgallery: Nuget.Server 2.11.2 build failed

Created on 13 Jun 2016  路  1Comment  路  Source: NuGet/NuGetGallery

I am trying to compile our own nuget.server as described in https://docs.nuget.org/create/hosting-your-own-nuget-feeds .

The build fails with


Severity Code Description Project File Line Suppression State

Error CS0234 The type or namespace name 'Server' does not exist in the namespace 'NuGet' (are you missing an assembly reference?) SEM.NugetServer Y:\SEM Development\SEM.NugetServer\SEM.NugetServer\DataServices\Routes.cs 4 Active

Error CS0234 The type or namespace name 'Server' does not exist in the namespace 'NuGet' (are you missing an assembly reference?) SEM.NugetServer Y:\SEM Development\SEM.NugetServer\SEM.NugetServer\DataServices\Routes.cs 5 Active

Error CS0234 The type or namespace name 'Server' does not exist in the namespace 'NuGet' (are you missing an assembly reference?) SEM.NugetServer Y:\SEM Development\SEM.NugetServer\SEM.NugetServer\DataServices\Routes.cs 6 Active

...

Note the Node.Server is not presented in the project References even if it is presented in NuGet package manager as installed.

Build configuration

  • VS Community 2015, v 14.0
  • .NET 4.5.2
  • Nuget.Server 2.11.2
  • IIS not yet installed on my local PC

Most helpful comment

UPDATE: I have downgraded from Nuget.Server 2.11.2 (compiled by .NET 4.6) to the Nuget.Server version 2.10.3 (compiled by .NET 4.5). Build works fine. Issue closed.

>All comments

UPDATE: I have downgraded from Nuget.Server 2.11.2 (compiled by .NET 4.6) to the Nuget.Server version 2.10.3 (compiled by .NET 4.5). Build works fine. Issue closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xied75 picture xied75  路  5Comments

j3parker picture j3parker  路  4Comments

SteveWilkes picture SteveWilkes  路  3Comments

anangaur picture anangaur  路  5Comments

304NotModified picture 304NotModified  路  3Comments