Advertisement
otakuSiD

NAnt MSBuild run with creating publishing package

May 14th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.49 KB | None | 0 0
  1. <exec program         ="msbuild.exe"
  2.      basedir         ="C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\"
  3.      workingdir      ="g:\Path\To\Your\Solution\"
  4.      resultproperty  ="build.result" failonerror="true">
  5.  
  6.   <arg value="./Src/SolutionFileName.sln" />
  7.   <arg value="/p:Configuration=Release;DeployOnBuild=True" />
  8.   <arg value="/target:Rebuild" />
  9. </exec>
  10.  
  11. Параметр "DeployOnBuild=True" собственно и тригает создание деплой пакета.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement