nuget.config for team city/Local System

Aug 29, 2011 at 12:00 AM

I have an internal package repository for various internal libraries.

I'm trying to configure our CI box to install packages before building, however i can't get it to recognize our internal package repository.

We're using Team City, which runs under the windows account "Local System" - where would the CLI nuget look for nuget.config in this instance?

Developer
Aug 29, 2011 at 5:10 PM

NuGet looks for a config file under %LOCALAPPDATA% - not entirely sure what that translates into for a system account. Could you use "nuget.exe sources" command to ensure that your internal repository is listed? Alternatively, you could explicitly pass in the source URI to the install command (nuget.exe install -Source <source>)