title: DevOps: Build Solution task not copying Web.config file
body: <p>In our DevOps build pipeline, the Build Solution task is properly transforming the "web.base.config" file to "web.config" file, however the artifact file contains only the "web.base.config" and not "web.config".</p>
  
  <p>Our visual studio project file / config file setup looks like this:</p>
  
  <pre><code>…
      &lt;Content Include="Web.Base.config" /&gt;
      &lt;None Include="Web.Debug.config"&gt;
        &lt;DependentUpon&gt;Web.Base.config&lt;/DependentUpon&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/None&gt;
      &lt;None Include="Web.Dev.config"&gt;
        &lt;DependentUpon&gt;Web.Base.config&lt;/DependentUpon&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/None&gt;
      &lt;None Include="Web.QA.config"&gt;
        &lt;DependentUpon&gt;Web.Base.config&lt;/DependentUpon&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/None&gt;
  …
    &lt;Target Name="BeforeBuild" Condition="'$(PublishProfileName)' == '' And '$(WebPublishProfileFile)' == ''"&gt;
      &lt;TransformXml Source="Web.Base.config" Transform="Web.$(Configuration).config" Destination="Web.config" /&gt;
    &lt;/Target&gt;
  </code></pre>
  
  <p>The msbuild arguments for the Build Solution task look like this:</p>
  
  <pre><code>/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactstagingdirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"
  </code></pre>
  
  <p>In the build log file, I can see the transformation taking place successfully.</p>
  
  <pre><code>2019-01-31T21:13:32.1186618Z BeforeBuild:
  2019-01-31T21:13:32.1186784Z   Transforming Source File: Web.Base.config
  2019-01-31T21:13:32.2198256Z     Applying Transform File: Web.Dev.config
  2019-01-31T21:13:32.4750975Z     Output File: Web.config
  2019-01-31T21:13:32.5213915Z   Transformation succeeded
  </code></pre>
  
  <p>What do I need to do to get the transformed "Web.config" file to the artifact staging folder?</p>