I suggest you ...

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.

60 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Chuck FieldsChuck Fields shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • David WalkerDavid Walker commented  ·   ·  Flag as inappropriate

        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.

      • Jon BahnickJon Bahnick commented  ·   ·  Flag as inappropriate

        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.

      • Carlos CubasCarlos Cubas commented  ·   ·  Flag as inappropriate

        This functionality is currently supported by workarounds but it would be great if it was natively supported within the IDE.

      Feedback and Knowledge Base