VSS 的有效绑定根?
我正在尝试修复我拥有的项目的 Visual Source Safe 绑定,当我选择我认为项目应该绑定到的位置时,我会收到一个对话框,其中显示:
您选择的文件夹不是您选择的项目的有效绑定根。 您尝试将解决方案重新定位到不在解决方案根目录内的源代码管理文件夹。 在更改源控制对话框中,指定解决方案的根目录。 选择树中更高 5 级的文件夹以正确更改源代码管理绑定。
这到底是什么意思? 没有更高 5 级的文件夹。
I'm trying to fix up my Visual Source Safe bindings for a project I have and when I select the location I believe a project should be bound to, i get a dialog that says:
The folder you chose is not a valid binding root for the projects you have selected. You attempted to retarget a solution to a source control folder that is not within the solution's root. In the change source control dialog box, specify the root for the solution. Select the folder 5 levels higher in the tree to chagne the source control bindings correctly.
What on earth does that mean? There are no folders 5 levels higher.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我想我已经弄清楚了这一点。 我打开 vcproj 文件并搜索 ..\..\.. 并找到了对文件 5 目录“更高”的几个引用。 我删除了这些引用(文件实际上并不存在)并重新打开了该项目。 完成此操作后,我可以将项目重新绑定到 SourceSafe。
I think I figured this one out. I opened my vcproj file and searched for ..\..\.. and found a couple of references to files 5 directories "higher". I removed those references (the files weren't really there) and reopened the project. After doing this, I could rebind the project to SourceSafe.
您可能需要检查文件“(项目名称).vspscc”的本地版本是否是最新版本。 它解决了我的上下文中的问题。
You may want to check that the local version of the file "(project name).vspscc" is the latest one. It solved the problem in my context.
我遇到了同样的基本问题,VSS 要求我选择一个比我选择的目录高两级的目录。
在记事本中编辑 .vcproj 文件,我发现“SccLocalPath=..\..”,以及对位于“..\..”相对路径目录中的两个文件(这两个文件都应已从项目中删除)的引用。 我手动从 .vcproj 中删除了这两个文件,并将 SccLocalPath 更改为简单的“..”,问题解决了。
I had the same basic issue, with VSS asking me to select a directory two levels higher than the one I had selected.
Editing the .vcproj file in Notepad, I found "SccLocalPath=..\..", and references to two files (both of which should have been removed from the project) located in "..\.." relative-path directories. I manually removed those two files from the .vcproj and changed SccLocalPath to simply "..", problem solved.