 <p>With VS2012 or with the VS2010 extension mentioned at <a href="http://blogs.msdn.com/b/webdev/archive/2012/06/15/visual-studio-2010-web-publish-updates.aspx" rel="nofollow">http://blogs.msdn.com/b/webdev/archive/2012/06/15/visual-studio-2010-web-publish-updates.aspx</a>, you can create per-profile transforms. There isn't yet tooling to generate the transform files in the IDE, but you can copy one of the existing transform files (e.g. Web.Release.config) and include it in your project.</p>