Using VisualSVN server with Tortoise SVN and ankhSVN plugin for visual studio 2008
I have a VisualSVN server and the client is TortoiseSVN with the AnkhSVN plugin for VS 2008. I created a project in VS and added the solution in Subversion by right clicking and committing.
All folders are present in the repository, except bin and obj. Why is that? Do I need to manually add them from the project folder?
Some people suggested not to add bin and obj to the repository? Good reason?
a source to share
You should never add the 'obj' folder to source control, as it is a fully MSBuild managed folder (which will add and remove files and subdirectories whenever it wants).
The bin directory should not (note the difference) be versioned as it contains output instead of source files. It is usually best to allocate certain files from other locations to be copied to the bin directory at build time ("Copy to Output Directory" in the Properties window) and then add files from the bin directory itself.
The Visual Studio project system provides a list of files that need to be versioned for SCC providers such as AnkhSVN, and it is this list of files that you see as "New" in AnkhSVN's pending changes and commit dialog boxes.
a source to share