<p>I just wonder what the best approach is to have multiple users work on a Project in Visual Studio 2005 Professional.</p>

<p>We got a Solution with multiple Class Libraries, but when everyone opens the solution, we keep getting the "X was modified, Reload/Discard?" prompt all the time. Just opening one project is an obvious alternative, but I find it harder to use as you can't just see some of the other classes in other projects that way.</p>

<p>Are there any Guidelines for Team Development with VS2005 Pro?</p>

<p>Edit: Thanks. The current environment is a bit limited in the sense there is only 1 PC with RDP Connection, but that will change in the future. Marking the first answer as Accepted, but they are all good :)</p>

[{'answer_id': 41326, 'author': 'Mark Ingram', 'author_id': 986, 'author_profile': 'https://Stackoverflow.com/users/986', 'pm_score': 4, 'selected': True, 'text': '<p>Use source control to keep a central repository of all your code. Then each user checks out their own copy of the source code and works locally. Then submits only the code that changed.</p>\n\n<p><a href="https://en.wikipedia.org/wiki/Version_control" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Version_control</a></p>\n'}, {'answer_id': 41328, 'author': 'Lasse V. Karlsen', 'author_id': 267, 'author_profile': 'https://Stackoverflow.com/users/267', 'pm_score': 3, 'selected': False, 'text': "<p>What you need is source control.</p>\n\n<p>You should definitely not open the same files over the network on multiple machines. For one thing, Visual Studio has safeguards in place to prevent you from modifying certain files during a build, but it has none of that that will prevent others from modifying the same files over the network.</p>\n\n<p>By setting up source control, each developer will have a separate copy of the files locally on his or her developer machine, and periodically communicate with the source control system to check in/commit changes. After that, other developers can ask for the latest updates when they're ready to retrieve them.</p>\n"}, {'answer_id': 41329, 'author': 'Dominik Grabiec', 'author_id': 3719, 'author_profile': 'https://Stackoverflow.com/users/3719', 'pm_score': 1, 'selected': False, 'text': "<p>This might sound snide, but if you're opening up the solution from a shared location then you're doing something wrong. If that's the case then you should start using source control (something like Subversion) and have everyone check out a copy of the project to work on. </p>\n\n<p>However if you're already using source control, then it might be a symptom of having the wrong things checked in. I find that you only need the sln, and the vcproj under source control.</p>\n\n<p>Otherwise I don't know...</p>\n"}, {'answer_id': 41332, 'author': 'Rob Cooper', 'author_id': 832, 'author_profile': 'https://Stackoverflow.com/users/832', 'pm_score': 1, 'selected': False, 'text': "<p>You should definitely, <em>definitely</em> be working with source control!</p>\n\n<p>This will help stop the collisions that are occurring. Also, if you are making changes to the shared projects this often that it <em>is</em> a problem, then also ensure that all code is <strong>tested before getting checked in</strong> (otherwise they may bust someone else's build), but make sure they <strong>check in often</strong> (or time gained from not dealing with prompts will be lost in merging conflicts) :)</p>\n"}, {'answer_id': 41350, 'author': 'Vagnerr', 'author_id': 3720, 'author_profile': 'https://Stackoverflow.com/users/3720', 'pm_score': 2, 'selected': False, 'text': '<p>A number of people have recommended using source control and I totally agree. However you also need do the following.</p>\n\n<ul>\n<li>Exclude your personal options files from the repository (eg your .suo files)</li>\n<li>Exclude your App.config files from the repository. - Not entirely but you need to have a Template.App.config. You commit that instead, and only copy your App.config into the Template.App.config when you make structural changes. That was each user has their own individual config for testing.</li>\n</ul>\n\n<p>There are probably some other files worth excluding (obj directories and so forth) but thats all I can think of right now.</p>\n\n<p>Peter</p>\n'}]
['https://Stackoverflow.com/questions/41320', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/91/']