VSS - 多个用户之间的解决方案文件
我们有一个由开发团队开发的包含多个项目的解决方案。最初签入的解决方案文件中的项目路径包含特定于该开发人员的路径。现在,当另一个开发人员获得最新的解决方案时,由于路径不同,某些项目将无法加载。
有什么更好的方法来管理这个问题?
TIA
we have a solution with multiple projects that is being developed by a team of developers. Project paths in the solution file checked in initially contains the path that are specific to that developer. Now when another dev gets latest of the solution, some of the projects won't load as the path differs.
What's a better way to manage this ?
TIA
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 VSS 时,我通常让每个开发人员使用未保存在源代码管理中的解决方案的本地副本。
缺点是您必须为每个加入的开发人员从头开始创建一个新的解决方案(或使用其他人的模板),但它确实解决了您所看到的问题。
When using VSS, I usually have each developer use a local copy of the solution that isn't kept in source control.
The downside is you have to create a new solution from scratch (or use a template from someone else) for each developer that comes on board, but it does address the problem you're seeing.
最简单的方法是指定项目/解决方案的存储位置,例如,确保/坚持每个人都将其工作目录存储在 C:\VSS 根目录下。这可以确保开发人员之间的所有路径都是一致的,并防止出现问题。
The simplest way is to dictate where projects/solutions are stored, for example, ensure/insist that everyone stores their working directories rooted at C:\VSS. That ensures that all paths are consistent between developers and stops things breaking.