Visual SourceSafe 和 VS2005 没有完全集成

发布于 2024-09-14 17:02:06 字数 213 浏览 1 评论 0原文

是否可以将 VSS 2005 与 VS2005 一起使用,而不将 .sln 和 proj 文件包含在源存储库中?如果是这样,请有人提供一个模板来使其正常工作。让我震惊的是,如果没有 VS2005 和 VSS 之间的默认集成,对项目层次结构的理解将会变得更加简单。在任何人发表评论之前,源代码控制的选择是由客户而不是我决定的......更多的是遗憾:-(

亲切的问候

Paul J.

Is it possible to use VSS 2005 with VS2005 and not have the .sln and proj files included in the source repository? If so could somebody please provide a template for getting this working. It strikes me, that understanding of the project hierarchy would be a damned site simpler without the default integration between VS2005 and VSS. And before anybody comments, the choice of source control is dictated by the client not me... more's the pity:-(

Kind Regards

Paul J.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

还给你自由 2024-09-21 17:02:06

.sln.prj 文件规定哪些文件属于哪些项目、它们在哪里、用于构建它们的编译器标志等。这些绝对是需要加以控制

不控制它们就像不控制你的 makefile 一样。五年后,当你能找到的只是存储库时,怎么会有人能够构建这个系统呢?

如果您真的不想使用它们(也许您有自己用来构建的真实 makefile?),那么最好的办法可能是直接使用 VSS 来关闭系统。 IOW:不要使用集成。当然,如果您不使用 VisualStudio 进行源代码管理集成,并且不使用 VisualStudio 进行编译,那么根本就没有充分的理由使用它。 Emacs 是一个更好的编辑器,所以只需使用它即可,完全用 VS 来完成。

The .sln and .prj files dictate what files belong to what projects, where they are, what compiler flags to use to build them, etc. Those most definitely need to be controlled.

Not controlling them would be like not controlling your makefile. Five years from now, when all you can find is the repository, how is anybody going to be able to build the system?

If you are really aching to not use them (perhaps you have your own real makefile you use to build?) then probably the best thing to do is to use VSS directly to pull down the system. IOW: Don't use the integration. Of course, if you aren't using VisualStudio for source control integration and you aren't using to compile, that doesn't leave a whole lot of reason to be using it at all. Emacs is a far better editor, so just use it instead and be done with VS entirely.

梦一生花开无言 2024-09-21 17:02:06

VSS 在解决方案项目级别或文件级别进行集成。

如果要与 Visual Studio 集成,则必须使用解决方案-项目级别集成。

如果您愿意放弃 Visual Studio 集成,只需将文件放入 VSS 中并根据需要手动签入/签出即可。

VSS integrates at the Solution-Project level or at a file level.

If you want integration with Visual Studio, you have to use Solution-Project level integration.

If you are willing to forego Visual Studio integration, you can simply put the files into VSS and manually check-in/check-out as required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文