Hi,
> As part of our automated build process, we'd like to put the
> subversion revision in the rev part of the assembly version. How
> would someone get a value determined at compile time into the
> assembly build? I've googled around a bit on the subject and I found
> one reference to a little app that manually rewrites AssemblyInfo.cs
> in a pre-process, and another where one plugs their own class into
> the project build to manage the IncrementRevision function.
>
> What's the best way?
Have a look at the MSBuildCommunity task called AssemblyInfo, this
writes an AssemblyInfo.cs file (
http://msbuildtasks.tigris.org/).
I use it to write a GlobalAssemblyInfo.cs file, that is included
(referenced) in all projects. This only contains the version info, but
still all projects have their individual AssemblyInfo.cs file and have
the option to define assembly related informations.
hth
Markus