How can I prevent hidden .svn folder from being copied from the _bin_deployableAssemblies folder?
问题 I am using the _bin_deployableAssemblies folder to copy over the ASP.NET MVC assemblies to the bin folder after each build. Unfortunately the MSBuild task also copies the hidden .svn folder. First attempt to fix I want to solve this at a project level, so I have added a RemoveDir task to the AfterBuild target in the .csproj file, which works for normal builds. <RemoveDir Directories="@(OutDir).svn" /> But it doesn't seem to work when I publish the site. After publishing the .svn folder is