I assume that you already have a working Subversion repository to hold your project. Here are the steps from scratch for adding your project:-
First of all, to note here that we don’t check in folders that contain binary output. Such files and folders change every single time we compile, and thus become meaningless noise if they appear in every single commit.You should close Visual Studio, and then delete the .sou file that it has created in the solution folder. You should also delete any bin or obj folders that have been created in the sub-project folders (if you built or ran the solution).
First commit:-
Having deleted these files and folders, we are ready to commit. Right click the solution folder and choose TortoiseSVN -> Import. Create a 'trunk' folder in the root of your repository. This is a convention that is widely adopted -- primary development happens to code in the trunk and you create bran
ch and tag folders when you need a snapshot of development at a point in time. In the import window, if you append trunk to the url of your repository, the folder will be created for you. The repository url for the import shall look like:
http://svn.///trunk
Click OK, and your files are added to the repository.
Getting a working copy
This is an important step. You should now move or rename your project folder to another location, and get a new, working copy from Subversion. If you miss this step out and make changes to the folder and files that you just imported, you will not be able to commit those changes!
Once you have deleted, moved or renamed the project folder, you should create an empty folder of the same name.
Now right click the empty folder and choose ‘SVN Checkout’. The url should be correct already. If not, use the url that you entered above during the import.
Click OK and your folder will be populated with the project files you just added to Subversion. The icons should have little green ticks to indicate that they are unchanged from the versions in Subversion.
Cleaning up, again
Now re-open your solution in Visual Studio and compile everything (or run the application). When you have done this, close the solution and go back to Windows Explorer. This will cause bin and obj folders to be created for your projects, and an suo file will appear in the project's top folder.
We use Tortoise to update the properties on several folders to ignore these files, but first we must first right click the solution folder and choose SVN Update. It will say “completed at version 1” without actually doing anything. It is important that we do this, before updating properties (though I am not sure why). If you don't Update first, your next commit (with the ignore commands) will fail.
Right click the solution folder and choose SVN Commit. The commit window will appear. Don’t click OK yet.
You can right-click on the files in this window and perform certain actions. You will need to right click the .sou file and choose 'Add To Ignore List -> FileName.sou' (where FileName is the name of the solution It will disappear from the list.
Now you need to do exactly the same thing for all of the bin and obj folders only (not their contents, just the bin and obj folders!). Right click them, and choose Add To Igore List -> bin/obj
When this is done you will see that the project root-folder (.) and the sub-project folders are identified as being modified. This is because we have just set their properties to ignore those selected files and folders. When we commit, those properties will be written back to the server. Click OK and it should say “Completed at version 2”.
Ref: http://www.componentworkshop.com/blog/2009/06/18/versioning-a-net-development-with-subversion-and-tortoisesvn
Your solution is now ready for development. All developers in the team will need to checkout the source from the subversion repository.