locked
Configuration Transforms with the configSource attribute and Visual Studio 2013 RRS feed

  • Question

  • I would like to use Configuration Transforms in conjunction with my Web.config file.  However, I am using the configSource attribute in several places in my Web.config.  

    I have the following element in my Web.config file:

    <connectionStrings configSource="config\connectionStrings.config"/>

    For some reason, the Configuration Transforms do not seem to work for me at all using Visual Studio 2013 Update 2.  I even tried removing the configSource attribute and making the elements inline in the Web.config and publishing my application using either the Debug or Release profiles and the Configuration Transform does not seem to be occurring.

    It is an older application that I inherited that was upgraded from Visual Studio 2010 to Visual Studio 2013.

    I have no idea why the Configuration Transforms are not occurring nor do I know what to look for in order to determine why the Configuration Transforms are not working for me.

    Please advise.

    Thanks.

    Tuesday, July 15, 2014 5:25 AM

Answers