title: web.config file transform from command line
body: <p>I have two build environments to target; Release and Staging. The Web.config looks like this:</p>
  
  <pre><code>&lt;system.web&gt;     
      &lt;authentication mode="Windows"&gt;
      &lt;/authentication&gt;
  
      &lt;authorization&gt;
          &lt;deny users="?" /&gt;
      &lt;/authorization&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>I want to transform it by building to staging config: Web.Staging.config</p>
  
  <pre><code>&lt;system.web&gt;     
      &lt;authentication mode="Windows"&gt;
      &lt;/authentication&gt;
  
      &lt;authorization xdt:Transform="Replace"&gt;
          &lt;deny users="?" /&gt;
          &lt;allow roles="StagingRoles" /&gt;
          &lt;deny users="*" /&gt;
      &lt;/authorization&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>I build from command line like this:</p>
  
  <pre><code>msbuild buildscript.build /p:Configuration=Staging
  </code></pre>
  
  <p>After the build, I don't see the web.config file transformed in the build artifacts folder. Is there something wrong here?</p>
  
  <p>Thanks</p>