When Nuget 2.7 was introduced; a new Automatic Package Restore feature came along with it. The gist: You no longer need to have Nuget.exe
, nuget.targets
, or the packages
folder checked in to source. Instead, simply be enabling automatic package restore in Visual Studio's Package Manager Settings; and ensuring that the nuget.config
has disabled source control integration is all you need.
For Team Foundation Server 2013, the Build process templates were updated to use this Automatic Package Restore Functionality:
Turns out that on prem Team Build (starting with TFS 2013) also supports automatic package restore. For TFS 2013 you don't need to configure anything when creating new builds. For builds that were created with older version of TFS you'll need to update the build process template.
We're using an older Build Process Template; but I can't seem to find the exact part of the XAML responsible for nuget package restore. Since I can't find it, I can't add it to 'upgrade' the build template. This seems to be a common issue.
How do I upgrade a Build Template that was created with Team Foundation Server 2012 to use the new Automatic Package Restore Feature available to TFS 2013?