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

  • Home
  • SEARCH
  • 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 330959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:43:48+00:00 2026-05-12T09:43:48+00:00

Anyone had any success getting SVN to merge Visual Studio project (.csproj) or solution

  • 0

Anyone had any success getting SVN to merge Visual Studio project (.csproj) or solution (.sln) files that have been edited by two users? Example

  1. User A checks out project
  2. User B checks out same project
  3. User A adds a file
  4. User A commits changes
  5. User B adds a file
  6. User B commits changes

Seems to me that at step (6), svn, Tortoise, Ankh or whatever should detect a conflict and either merge the two project files automatically or, more likely, prompt User B to resolve the conflict. Currently, we’re seeing changes made by User A obliterated when User B checks in, resulting in bad builds, deploys, etc missing features that had been added before the last checkin.

Since the project files are XML, why is this an issue? Am I missing something here? I’ve searched the archives here and googled to I can’t google no more, but haven’t come up with a good solution.

  • 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-12T09:43:48+00:00Added an answer on May 12, 2026 at 9:43 am

    How do you think you trick SVN into performing step #6? It seems you misunderstood what goes wrong. SVN will never ever commit from a working copy that’s not up to date, so step #6 won’t work without user B previously updating and merging user A’s changes. Honestly. Try it.

    I guess what happens instead is this:

    1. A checks out project.
    2. B checks out same project.
    3. A adds a file.
    4. A commits changes.
    5. B adds a file, but forgets to save the project/solution.
    6. B tries to commit changes and gets a message he should update first.
    7. B updates.
    8. B switches back to VS. VS tells him the project/solution changed on disk and asks whether he wants to a) reload from disk and lose his changes b) override the version on disk.
    9. B doesn’t understand, doesn’t try to understand, considers his changes valuable, and picks b), overriding the changes on disk.
    10. B still doesn’t try to understand and thus does not diff the version he has on disk with the last committed one and thus misses that he overrode A’s changes.
    11. B Checks in, overriding A’s changes.

    I’ve seen this happening once in a while, usually with a user B who does not really understand SVN’s (or CVS’, FTM) workflow.

    So here’s a few hints:

    Don’t update unless you have saved everything (“File”->”Save All”; for me, that’s Ctrl+Shift+S). In case you have made that mistake and you’re stuck, do override the changes on disk and then merge the lost changes manually. (It might also work to update the project/solution file back to version N-1, and then to HEAD again, in order to have SVN perform the merge.)

    Don’t commit without checking which files you changed and having a quick look at the diffs to see whether the changes are what you expect.

    Commit early, commit often. The more developers work on the same code base, the more likely you get conflicts. The longer you change your working copy without updating, the more likely you get conflicts. Since the number of developers usually is out of your hands, the update frequency is the one thing you can use to reduce the probability of conflicts.

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

Sidebar

Ask A Question

Stats

  • Questions 246k
  • Answers 246k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Replace the -w with use warnings. It allows you to… May 13, 2026 at 8:30 am
  • Editorial Team
    Editorial Team added an answer Copying content from two comments into a Community Wiki answer.… May 13, 2026 at 8:30 am
  • Editorial Team
    Editorial Team added an answer Apache Roller would be a good one, but I think… May 13, 2026 at 8:30 am

Related Questions

I am interested in getting an install of Django running on IronPython, has anyone
Has anyone had any success in getting Webistrano running on Windows. Everywhere I have
I was just wondering if anyone had any success in getting XMLBeans (or any
Tux Rider is an iPhone port of the famous Tux Racer game. As it's

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.