Use SVN Revision to label build in CCNET

Posted by hitec on Stack Overflow See other posts from Stack Overflow or by hitec
Published on 2008-08-04T11:37:24Z Indexed on 2010/04/12 1:13 UTC
Read the original article Hit count: 355

Filed under:
|
|

I am using CCNET on a sample project with SVN as my source control. CCNET is configured to create a build on every check in. CCNET uses MSBuild to build the source code.

I would like to use the latest revision number to generate AssemblyInfo.cs while compiling. How can I retrieve the latest revision from subversion and use the value in CCNET?

Edit: I'm not using NAnt - only MSBuild.

© Stack Overflow or respective owner

Related posts about svn

Related posts about msbuild