最近,由于我们搬家了,SourceSafe 与 Visual Studio 的集成开始表现不佳,而且 SourceSafe“服务器”位于通过慢速连接的 VPN 上。这使得在 Visual c++ 6 中加载大型项目需要 5 分钟以上,因为它必须与每个项目的“服务器”对话。此外,集成中存在一些危险的错误(某些共享项目的自动 check out 会在分支文件的错误版本上获取最新信息)。这导致我想要禁用 SourceSafe 集成,但是我没有找到任何菜单选项或卸载选项。谷歌报告了一些注册表调整,但似乎没有一个起作用。
有谁知道从 Visual C++ 6 中删除 SourceSafe 集成的简单方法,而无需完全卸载 SourceSafe?
最佳答案
来自 http://support.microsoft.com/kb/236399 :
Source code control software, such as Microsoft Visual SourceSafe, that integrates with the Visual C++ integrated development environment (IDE) can be configured to connect to a source code server during Visual C++ startup. In such cases, a loss in network connectivity will cause Visual C++ to start up very slowly. To improve performance, either ensure proper network connectivity or disable the source code control software integration with the Visual C++ IDE. To do the latter, quit Visual C++, and then use RegEdit.Exe to locate the following registry key and set its Disabled value to (DWORD) 0x00000001:
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Source Control\Disabled
我遵循了这个,它似乎在再次尝试时起作用。我想我第一次做的时候可能已经运行了 Visual Studio 的第二个副本。
关于visual-studio - 从 Visual Studio 6 中删除 SourceSafe 集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/471056/