May 28, 2010 02:54 PM|Ming Chen|LINK
This is long standing for the "web setup". This is where the new msdeploy that VS10 leverage have much more flexibility by its deploy time parameter.
In VS10, we support the msdeploy which allow the deploy time parameters.
It just so happen VS leverage the Parameter to perform on the xml file (web.config.)
You can do the same thing with a class file, with the "TextFile" as scope, which by default use the "Regex" for the match.
Now, all you need to do is extending Web Publish Pipeline to also handle your special class....