Visual Studio custom command line switches

http://www.codeproject.com/KB/macros/SimpleSwitchFramework.aspx is an example of making a custom switch for devenv. I really need to get to know msbuild.