I want to make a target in my MSBuild script that:
- Fetch SVN revision/datetime from sources folder (‘svn info’ command)
- Update VERSIONINFO resource from .EXEs and .DLLs generated by ‘build’ target
There is something ready to accomplish this? I’m asking just before reinvent another wheel…
I’m giving a look into http://msbuildextensionpack.codeplex.com
MSBuild Community Tasks Project is your friend. Check their “SvnInfo” task.
Also, Daniel Doubrovkine’s ResourceLib is an excellent piece of work and can avoid you lots of headaches when trying to untangle the VERSIONINFO creation mess (been there, done that…)