Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6380063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:13:07+00:00 2026-05-25T02:13:07+00:00

How do I keep multiple related Visual Studio solutions/projects organized in a SVN repository

  • 0

How do I keep multiple related Visual Studio solutions/projects organized in a SVN repository (or multiple repositories)?

E.g. I have two applications (solutions) which share several common projects:

+ Application_1
  - Company.Core
  - Company.Connections
  - Company.Data
  - Company.A1.DAL
  - Company.A1.BL
  - Company.A1.UX

+ Application_2
  - Company.Core
  - Company.Connections
  - Company.Data
  - Company.A2.DAL
  - Company.A2.BL
  - Company.A2.UX

Right not, both Application_1 and Application_2 share the same SVN root, because they use common projects:

/svnroot
   /common
      /trunk
         /Company.Core
         /Company.Connections
         /Company.Data
   /app1
      /trunk
         /A1.DAL
         /A1...
   /app2
      /trunk
         /A2.DAL
         /A2...

The reason for this is that is ensures that any release has the latest available assemblies from the common folder, and that checkouts are always consistent on each machine.

So what I’d like to know is:

  • Should each solution actually have its own repository?
  • If yes, how do I share common projects and make sure they are up-to-date?
  • Do I add common assemblies as already built dependencies (.dlls) and commit them to each solution repository separately? How do I automate such builds?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:13:08+00:00Added an answer on May 25, 2026 at 2:13 am

    How you set up your repositories is completely up to you and how it works for your organization. I’ve seen several approaches for this, and over the years, found no solid advice.

    Edit

    That last part was written badly. What I meant by “no solid advice” is that none of the advice says “you should structure your repository as follows…” All of the advice is presented as “this is what works for us” and every one of those ways of laying out the repo DOES work for them, and the layouts vary. So I really meant “no solid advice that applies to every organization”.

    end edit

    However, your repository is structured very close to how our is. We have hundreds of projects, and several nodes off the root. All of these are in the same repository.

    Like you, we have a common directory that holds projects with common functions that we add as reference to projects in solutions in other nodes. It’s what we came up with after many restructures in a trial-and-error process,and it’s hth one that works for us, so I’d give you a thumbs-up on your structure.

    To answer your specific points

    • I think you should have one repository with the structure you described coming off the trunk.
    • This allows you to get your code in one checkout, ensuring everything is easy to maintain and keep up-to-date. Simply add your references since everything is in the same repo.
    • Finally, our general rule of thumb is, always add your reference to a project where necessary, and do NOT check in binaries EXCEPT for where you need a common dll and you don’t have the source (such as a 3rd part component). for example, we have the Microsoft.AntiXss dll and the Idunno.Anti-Csrf dll in a “shared dlls” in our “common” folder.

    As a side note, this structure also led to an easy time of setting up a build server. When we got our CruiseControl.NET build server set up, we have it do one checkout and build everything by pointing to the .sln files, just as we would in visual Studio. having it in one repo and following the guidelines I just laid out made it very easy to set up our builds.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.