tags:

views:

523

answers:

4

Hi guys

How does MSBuild called SVN task?

Is there any examples or tutorial?

Thanks for your help

nikky

+2  A: 

MSBuild Community Tasks has tasks to do this.

HTH, Kent

Kent Boogaart
A: 

I often simply do calls to svn in Exec tasks. It has worked fine so far, but perhaps there might be reasons not to.

Example (used to revert AssemblyInfo files that are edited during automatic build):

    <Exec Command="svn revert %(AssemblyVersionFile.RelativeDir)%(AssemblyVersionFile.Filename)%(AssemblyVersionFile.Extension)" />
Fredrik Mörk
A: 

Going a step further, we use MSBUILD with cruisecontrol.net which has a SVN task. We have implemented continuous integration [automatic daily builds every night] using CC.net and get email notifications of the results after the build has been done. here is the cc.net site

Vikram
A: 

which one is easiest?? lol

nikky
Vikram