Whenever I publish my web application I select "only files needed to run application". Upon publishing then it all works fine except for the bin/
folder contains a.svn
folder. Is there a way to keep it from copying the .svn
folder?
views:
18answers:
1
+1
A:
No I do not believe this is possible. The standard way of hiding a folder or file from the publisher is to prefix the folder name with a _
(yes that really is the case). IIRC this would break .svn and hence tarnish your enlistment.
I do want to ask why do you have a .svn folder inside bin\
? This folder should only contain the binary outputs of the build process and other generated artifacts. Typically it's not the type of stuff you include in source control.
JaredPar
2010-08-24 19:07:43
If you're using Tortoise, you can configure it to use _svn instead of .svn, which might help
Michael Haren
2010-08-24 19:09:04
You should probably delete the bin folder from SVN and mark the bin folder with svn-ignore.
Albin Sunnanbo
2010-08-24 19:12:24
The bin folder contains external third-party assemblies. All auto-generated assemblies I have within it are svn-ignore'd
Earlz
2010-08-24 19:33:09
@Earlz, why not create a reference folder not under bin for these assemblies and add a pre-build step to copy them to `\bin`? This should fix your scenario.
JaredPar
2010-08-24 19:39:50
+1 for bin not to be included under version control. One option is to keep third party tools and libraries in a separate folder (lib? tools?) and leave bin to be cleaned up and rebuilt with every build cycle.
Critical Skill
2010-08-25 10:32:20