I have a solution with multiple projects and a website. On each project I have set up a pre build event to get the highest subversion revision number of the project (using SubWCRev) and then replace part of the AssemblyVersion with that revision number.
How do I achieve this on a website? As far as I can tell there is no pre build event and if I try to:
- Add another project
- Make the website dependant on the project
- Use the pre build event for the project
The subversion revision number used to replace information in the website will be for the project not the website.
Any ideas?