Search code examples
visual-studiosvnversion-controlvisualsvn

Storing Visual Studio Solution with multiple projects in SVN


I am having a hard time adding a Visual Studio Solution with multiple projects to my repo. I am using VisualSVN. Here is my directory structure


c:\-----
    |
    ---Projects
           |
           --MyApp
              |
              ---Project1 (The solution is in this project directory)
              ---Project2
              ---Project3

When I select "MyApp" as the working copy root, nothing is added. If I select one of the project folder, only 2 are added.


Solution

  • Here's the structure I use with success:

    dev
     |- Project root folder (solution file here is the key)
        |- Class Project
        |- Class Project
        |- Web Project
        |- References
        |- Resources
    

    What I'm suggesting is that you should move your .sln file to the top level then import.