I understand that TFS 2013 will have a new build template with a restorenugetpackages property (see here). However, not sure when we will upgrade from TFS2012 to 2013. Can I modify the default build template in TFS2012 to do something similar (restore nuget packages for the solution)? If so, how do I do this?
I modified the default build template in 2012 and added a InvokeProces / Nuget restore step just inside Clean Configuration (this step assumes the nuget.exe is in c:\program files\nuget on build server). Not exactly sure how to bind to solution name in workflow but here is my initial guess for InvokeProcess Step.
arguments=restore "$(SolutionPath)"
FileName=nuget.exe
WorkingDirector=C:\Program Files\Nuget
Does this look correct?
I modified the default build template in 2012 and added a InvokeProces / Nuget restore step just inside Clean Configuration (this step assumes the nuget.exe is in c:\program files\nuget on build server). Not exactly sure how to bind to solution name in workflow but here is my initial guess for InvokeProcess Step.
arguments=restore "$(SolutionPath)"
FileName=nuget.exe
WorkingDirector=C:\Program Files\Nuget
Does this look correct?