title: visual studio publish choosing wrong web.config transform
body: <p>based on what i read, as long as you have a transform that matches the name of a publish profile, it should be applied, but this is not the case for me. </p>
  
  <p>publish profiles</p>
  
  <pre><code>PublisProfiles
      dev.pubxml
      local.pubxml
  </code></pre>
  
  <p>transforms</p>
  
  <pre><code> Web.Config
       Web.Debug.config
       Web.local.config
       Web.Release.config
  </code></pre>
  
  <p>when i publish using <strong>local</strong> config, i see this:</p>
  
  <pre><code>Transformed Web.config using  C:\...\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.
  </code></pre>
  
  <p>so it's using Release.config .. i opened up local.pubxml and tried changing this</p>
  
  <pre><code>&lt;LastUsedBuildConfiguration&gt;Release&lt;/LastUsedBuildConfiguration&gt;
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>&lt;LastUsedBuildConfiguration&gt;local&lt;/LastUsedBuildConfiguration&gt;
  </code></pre>
  
  <p>but then it's using Web.Debug.config transform. </p>
  
  <p>dev, release, local transforms are identical aside from a few transformed properties ..</p>