I don't know such tool, so I created a custom tool implementing the interface
Microsoft.Build.Framework.ITask
, please see:
http://msdn.microsoft.com/en-us/library/microsoft.build.framework.itask.aspx[
^].
Using this interface method, you can implement the .NET assembly which can be used by MSBuild when referenced in the standard MSBuild project file to elegantly embed it in a special target of a build process. On the implementation side, all you need is to find appropriate files like "AssemblyInfo.cs" and modify they texts accordingly. I advise you to do that. You can easily find the relevant information in documentation for
Microsoft.Build.Framework
and MSBuild.
—SA