Web.Debug.config is NOT transforming the connectionstrings to the Web.config in MVC 5 projects
<p>I have created a new VS 2015 web project  MVC5.   By default I can see the <strong>Web.config</strong> and <strong>Web.Debug.config</strong> </p>

<p>Reading several articles, I really don't see what I really need to do in order to have it take my values from Web.Debug.config and replace the current Web.config.</p>

<p>I've been looking at another project at work that does this and it works fine, but I'm been through a lot of properties and settings and I don't see what is different.</p>

<p>I can Right click on Web.Debug.config and Preview and it shows me that it will REPLACE "test" with "10.10.10.10"  so it seems good to me (like it should work  but running project it DOES NOT change the value)</p>

<p>Example</p>

<p>Project :</p>

<p>Debug  / Any CPU  ,   run google chrome   , problem is that <strong>Data source</strong> is NOT getting changed</p>

<p><strong>Web.Debug.config</strong></p>

<pre><code> &lt;connectionStrings&gt;
    &lt;add name="Envy" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=myDB;user id=myLoginID;password=password" providerName="System.Data.SqlClient"
            xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/&gt;
    &lt;add name="EnvyIdentity" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=myDB;user id=myLoginID;password=password" providerName="System.Data.SqlClient"
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/&gt;
    &lt;add name="DNNSmartstore" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=myDB;user id=myLoginID;password=password" providerName="System.Data.SqlClient"
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/&gt;
    &lt;add name="DNNPos" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=DevFood_POS;user id=myLoginID;password=password" providerName="System.Data.SqlClient"
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/&gt;
  &lt;/connectionStrings&gt;
</code></pre>

<p>Web.config</p>

<pre><code>  &lt;connectionStrings&gt;
    &lt;add name="Envy" connectionString="Data Source=test\MSSQLSERVER2014;Initial Catalog=myDB;user id=myLoginID;password=password" providerName="System.Data.SqlClient"/&gt;
    &lt;add name="EnvyIdentity" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=myDB;user id=myLoginID;password=password" providerName="System.Data.SqlClient"/&gt;
    &lt;add name="DNNSmartstore" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=myDB;user id=myLoginID;password=password" providerName="System.Data.SqlClient"/&gt;
    &lt;add name="DNNPos" connectionString="Data Source=10.10.10.10\MSSQLSERVER2014;Initial Catalog=DevFood_POS;user id=myLoginID;password=password" providerName="System.Data.SqlClient"/&gt;
  &lt;/connectionStrings&gt;
</code></pre>