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
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.
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.