When you use Subversion you will have on your file system some .svn folders, normally there are hidden.

I use Visual Studio 2005 Web Deployment Projects in my build process to build the application then package it.

If the .svn folders are hidden, you forget about those folders but with the build and packaging they will be there in your package. So to remove those folders I juste added this line in my MSBuild file:

<ExcludeFromBuild Include=$(SourceWebPhysicalPath)*.svn**\.* />