It's added to the project file, which is really an MSBuild file.
>I am guessing that when you include a code into the pre-build event command line (in Build Events tab) VS adds it to some XML file. If so, do you happened to know the XML file name VS updates/creates?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer