I am using TeamCity to build my .net application. One of the build step connects to a Nuget package repository and try to restore nuget packages. During this step, I am seeing returned an unexpected status code '401 Unauthorized
error while system try to restore nuget package from a specific repository.
How can I set the credentials so that TeamCity server picks it up and pass it while accessing repository.