My build was failing due to moving to a new build machine. We do have custom packages that are used internally and they could not be found by NuGet on the new server.
This post might be more about me remembering where it is but the location of the package sources for NuGet is found here:
1 | %APPDATA%\NuGet\NuGet.Config |
Here is what mine looks like:
1 | <?xml version="1.0" encoding="utf-8"?> |
The same file can be found on the build server (with some options missing). The main part is the packageSources section.
If you are depending on a local repository or a different repository than the public NuGet Gallery, it’s where you need to update your sources to have your package available.