I am creating a new build process for a DotNet project to be held in Subversion.
For each dll / exe that I compile (via Nant), I would like to include 2 additional attibutes in the built dlls.
I already understand the work of "asminfo" nant task. But I need help getting information that I hope to embed in my binaries.
Build will always be performed from a full working copy (checked by the build process itself) and therefore will always have a .svn directory.
The attributes I want to add are RepositoryVersion and RepositoryPath. (I understand that these are not the names that this information is passed to svn)
To do this, I will need to extract the RepositoryVersion and RepositoryPath, represented by the working folder in which the BuildFile is located.
How to extract this information from any .svn folder in 2 variables?
source
share