title: Web Deploy ignores SkipExtraFilesOnServer set by MSBuild
body: <p>I'm using MSBuild to create a Web Deploy Package on our CruiseControl Server to Deploy our web applications. On deployment everything not in the package will be deleted on our servers.</p>
  
  <p>I tried the option SkipExtraFilesOnServer option set to true. But it is ignored by Web Deploy</p>
  
  <pre><code>&lt;Target Name="CreateDeploymentPackage"&gt;
      &lt;MSBuild Projects="$(Web)" Targets="Package"
        properties="Platform=$(Platform);
        Configuration=$(Configuration);
        DeployOnBuild=False;
        DeployTarget=Package;
        SkipExtraFilesOnServer=True;
        MSDeployUseChecksum=True;
        PackageLocation=$(DeployDirectory)\_PublishedWebsites\DeployPackage\$(CurrentProject).zip;
        PackageAsSingleFile=True;
        _PackageTempDir=$(PackageOutputDir)\temp;"&gt;
      &lt;/MSBuild&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>Why is this not working? Every documentation I find says it should.</p>