Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

New Post: Modify TFS 2012 Default Build Process Template for Nuget solution restore

$
0
0
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?

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>