Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I work with Visual Studio Project and Solution files in a team using Subversion?

We're a team of students doing a software project. As some of us don't use Windows, but the product needs to run on Windows and .NET, we want to develop on MonoDevelop and Visual Studio which both use Visual Studio files; language of choice is C#.

My question is: Can we check in the solution and project files into our repository without the possibility of severe conflicting problems? Example: Two guys add a new file to the same project, save and commit their changes. Will the project file get a conflict?

like image 433
flyx Avatar asked Jun 01 '10 20:06

flyx


1 Answers

SVN works great with Visual Studio and the related Project/Solutions files. The Project files are just XML and the Solution files are a structured text file. If changes are made to the same project/solution file from two different people the second person will get a conflict notice. Warning, it can be tricky to merge project and solution files. Sometimes it's easier to just toss the changes and add the files back manually then check in again.

like image 123
Matthew Whited Avatar answered Sep 28 '22 10:09

Matthew Whited