I am using Visual Studio 2015 and the built-in publishing tool outlined here to publish my ASP.NET web app to Azure:
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-dotnet-get-started
How can I automatically ignore folders like wwwroot/lib, wwwroot/packages?
I have already tried these entries in .pubxml file without success
<PropertyGroup>
<ExcludeFoldersFromDeployment>
packages
</ExcludeFoldersFromDeployment>
</PropertyGroup>