Another question that appear frequently in the forums is how to perform some action before or after a build, how to build programmatically or how to retrieve build configurations. My latest article is about that:
HOWTO: Performing some action before or after a build from a Visual Studio macro or add-in
http://www.mztools.com/articles/2007/MZ029.htm