多个项目的源代码控制
我曾使用 SourceGear Vault 进行源代码控制一段时间,但遇到了一个问题 - 这将变得更加常见。
我有一个看起来像这样的 Visual Studio 解决方案:
-Main solution
- Web App Project
- Shared Class Library 1
- Shared Class Library 2
问题是我只能将解决方案绑定到一个存储库,但是类库是共享的,它们需要由多个解决方案使用。
是否有任何人都知道的源代码控制解决方案将允许解决方案包含多个项目,所有项目都绑定到不同的存储库?
提前致谢 铝
I've worked with SourceGear Vault for sometime for source control but I've run into a problem - which is going to be all the more common.
I have a visual studio solutions that looks like so:
-Main solution
- Web App Project
- Shared Class Library 1
- Shared Class Library 2
The problem is that I can only bind the solution to one repository, however the class libraries are shared, they need to be used by multiple solutions.
Is there a source control solution that anyone knows of that will allow for a solution to contain multiple projects, all bound to different repositories?
Thanks in advance
Al
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
单独构建共享库并引用程序集。库的构建可以自动化(例如使用持续集成),因此这是一个简单且高效的解决方案。
Build the shared libraries separately and reference the assemblies. The building of the libraries can be automated (e.g. using Continuous Integration), so that this is an easy and efficient solution.
解决方案可能是使用 SubVersion 和 svn-externals。
您可以通过 VisualSVN 插件 将其集成到 Visual Studio 中(您必须购买它)。
如果您想购买,可以使用 TortoiseSVN
A solution may be using SubVersion and the svn-externals.
You can integrate it in Visual Studio via VisualSVN plugin (you must purchase it).
If you want purchase it, you can use TortoiseSVN