I have a solution in Visual Studio which contains several projects. I\'d like to run a command at the very beginning of every build - no matter which projects are involved a
You can take a look on this article: MSBuild: Extending the solution build.
Seems to be exactly what you need.