title: TFS include files and folders within the Delete Files Task
body: <p>I need to use the 'Delete files' task in a VNext build definition (TFS 2018). after 'Publish Artifact' task I am using the 'Delete File' task to delete all the files and folder in the drop folder but except the below ones and used the pattern like in Contents section</p>
  <pre><code>!bin/
  !Views/
  !Scripts/
  !Content/
  !Reports/
  !Web.config
  </code></pre>
  <p><a href="https://i.stack.imgur.com/D2KZA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D2KZA.png" alt="enter image description here" /></a></p>
  <p>I found that we can use exclusion pattern, but it's not working. How can I make this work?</p>