Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modifying TFS process template to implement Nuget Package Restore

Tags:

azure-devops

I've migrated away from the MSBuild package restore to the automatic package restore which restores packages before the builds begins. (http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore)

According to this article http://docs.nuget.org/docs/reference/package-restore-with-team-build TFS 2013 and Visual Studio Online don't need any special configuration, but I've opened up the xaml process templates and they do not implement the NuGetRestore activity. As you can see it's available for use, but I can't find any articles on how to implement it properly.

enter image description here

I've checked all of these templates enter image description here

like image 957
The Muffin Man Avatar asked Jul 14 '14 16:07

The Muffin Man


Video Answer


1 Answers

The TfvcTemplate.12.xaml makes use of a build activity which generates the nuget restore action on the fly. Therefore you don't see it in the workflow.

like image 74
Rolf Huisman Avatar answered Sep 29 '22 12:09

Rolf Huisman