You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Lellinger, Dirk Dr." <DL...@dki.tu-darmstadt.de> on 2003/12/12 09:08:28 UTC

Automation of AssemblyVersion attribute in DotNet projects?

Hi,

It would be very nice if the AssemblyVersion attribute in a .NET project
would reflect the revision number of the project. The $Rev$ substitution
did not help in this case, since 1st) it reflects only the revision
number of the file itself and 2nd) after substitution still contains the
$Rev string. Are there any suggestions how to do that? Is it possible to
use a pre-commit hook script or so?
The problem however, of using a script, can be, that changing the file
containing the AssemblyVersion attribute, changes the revision number of
the file and therefore of the project itself.

Thanks, Dirk





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Automation of AssemblyVersion attribute in DotNet projects?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2003-12-12 at 03:08, Lellinger, Dirk Dr. wrote:
> Hi,
> 
> It would be very nice if the AssemblyVersion attribute in a .NET project
> would reflect the revision number of the project. 

Have your build process run "svnversion" on the working copy, and
substitute it into a file as appropriate.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org