我可以在团队中使用 Subversion 处理 Visual Studio 项目和解决方案文件吗?
我们是一个正在做软件项目的学生团队。由于我们中的一些人不使用Windows,但产品需要在Windows和.NET上运行,我们希望在MonoDevelop和Visual Studio上进行开发,它们都使用Visual Studio文件;选择的语言是 C#。
我的问题是:我们能否将解决方案和项目文件签入我们的存储库,而不可能出现严重的冲突问题?示例:两个人向同一个项目添加一个新文件,保存并提交他们的更改。项目文件会冲突吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
SVN 与 Visual Studio 和相关项目/解决方案文件配合得很好。项目文件只是 XML,解决方案文件是结构化文本文件。如果两个不同的人对同一项目/解决方案文件进行了更改,则第二个人将收到冲突通知。警告,合并项目和解决方案文件可能很棘手。有时,放弃更改并手动添加回文件然后再次签入会更容易。
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.
您可以尝试 Agent SVN 插件。它与VS 2005、VS 2008和VS 2010集成,并且还具有导入向导功能,可以轻松导入解决方案和所有内容将项目文件放入 SVN 存储库。
You could try Agent SVN plugin. It integrates with VS 2005, VS 2008 and VS 2010 and it also has a import wizard feature that makes it easy to import the solution and all project files into the SVN repository.
我使用这个免费的 Visual Studio 插件 http://ankhsvn.open.collab.net/ 进行工作与 SVN 存储库...
I use this free Visual Studio plugin http://ankhsvn.open.collab.net/ for working with SVN repo ...
VisualSVN 很好地集成到 VS 中。
VisualSVN integrates well into VS.