Support web.config style Transforms on any file in any project type
Web.config Transforms offer a great way to handle environment-specific settings. XML and other files frequently warrant similar changes when building for development (Debug), SIT, UAT, and production (Release). It is easy to create additional build configurations to support multiple environments via transforms. Unfortunately, not everything can be handled in web.config files many settings need to be changed in xml or other "config" files.
Also, this functionality is needed in other project types - most notably SharePoint 2010 projects.
David Walker commented
Totally agree! This needs to be out-of-the-box simple. So that it at LEAST applies to ANY Config file in any location in any project type.
Even in Web projects, using an App_Config sub folder, you can't do transforms without using SlowCheetah extension.
I just posted a suggestion here to have the option to always do the transformations on build/publish as well and remove the dependency on Configuration - see (CodeAssassin.ConfigTransform.)
It is just silly to have to Build multiple versions of a web project, just to perform the transforms for each configuration.
Tal P commented
check out SlowCheetah - XML Transforms visual studio extension
Vitor Canova Weingaertner commented
I need style Transforms in app.config. Please suport in IDE without workaroud.
Jon Bahnick commented
The work around for app.config is easy enough but this should be supported. Also, Setup projects should support this functionality as well...not just Publish functionality.
Martin MacPherson commented
Definitely for App.config (even if we have put in a workaround ourselves)
Carlos Cubas commented
This functionality is currently supported by workarounds but it would be great if it was natively supported within the IDE.