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
!bin/
!Views/
!Scripts/
!Content/
!Reports/
!Web.config
I found that we can use exclusion pattern, but it's not working. How can I make this work?
