I\'m deploying my application to an Azure Website. I\'ve configured the Publishing Profile succesfuly and setup tfspreview.com to publish automatically using continuous integrat
Looking over the question you are linking to and the code you have supplied above, it seems that you need to change the line:
ErrorLog
to
media
as this refers to the folder you do not want to delete. ErrorLog was the folder the other question's author did not want to delete.