I tried that and it didn’t work. I think it’s because the files aren’t there at build time (I think Deploy deletes the files, then creates them)
So I googled a bit, and found I could put them in DefaultItemExcludes like this:
<PropertyGroup>
<DefaultItemExcludes>$(DefaultItemExcludes);umbraco\Deploy\**\*.*</DefaultItemExcludes>
</PropertyGroup>
This works ![]()