title: MsDeploySkipRules in wpp.targets not working with PublishProfiles
body: <p>I am publishing my MVC project with the PublishProfile through visual studio, (through UI, right click project, publish) and ticking the option to clear the destination folder. 
  But I do not want a specific folder "Downloads" to be cleared </p>
  
  <p>I have spent countless hours trying to make this work, I think I have the exact same code as the person explained <a href="https://stackoverflow.com/a/12577115/1184603">here</a> but it still deletes the Downloads folder</p>
  
  <p>Also as example in the below I have the ExcludeFromPackageFiles of "favicon" which works if I deselect the deletion of the destination folder (just to show that my wpp targets is in fact running). </p>
  
  <p>Below is my projectname.wpp.targets file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
  
    &lt;!-- this doesnt work --&gt;
    &lt;PropertyGroup&gt;
      &lt;AfterAddIisSettingAndFileContentsToSourceManifest&gt;AddCustomSkipRules&lt;/AfterAddIisSettingAndFileContentsToSourceManifest&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;PropertyGroup&gt;
      &lt;UseMsDeployExe&gt;true&lt;/UseMsDeployExe&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;Target Name="AddCustomSkipRules"&gt;
      &lt;Message Text="Adding Custom Skip Rules" /&gt;
      &lt;ItemGroup&gt;
        &lt;MsDeploySkipRules Include="SkipErrorLogFolder1"&gt;
          &lt;SkipAction&gt;Delete&lt;/SkipAction&gt;
          &lt;ObjectName&gt;filePath&lt;/ObjectName&gt;
          &lt;AbsolutePath&gt;ErrorLog&lt;/AbsolutePath&gt;
        &lt;/MsDeploySkipRules&gt;
      &lt;/ItemGroup&gt;
    &lt;/Target&gt;
  
    &lt;!-- this works! --&gt;
    &lt;ItemGroup&gt;
      &lt;ExcludeFromPackageFiles Include="favicon.ico"&gt;
        &lt;FromTarget&gt;ContactManager.Mvc.wpp.targets&lt;/FromTarget&gt;
      &lt;/ExcludeFromPackageFiles&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>Any Ideas?</p>