源代码管理绑定状态无效:Visual Studio 2005 和 VSS

发布于 2024-08-22 18:51:59 字数 671 浏览 4 评论 0原文

我的 VB.NET 项目和相关解决方案(在 Visual Studio 2005 中开发)位于 Visual Source Safe 中。

最近开始与另一位开发人员合作,需要清理。

在路上的某个地方,我打破了束缚。我进入

文件 ->源代码控制 ->更改源代码控制

并尝试正确绑定内容。

我解绑了错误绑定的项目,并尝试重新绑定它。我的解决方案中有两个项目。这就是我得到的:

Solution/Project       Server Name    Server Binding         Connected     Status

Solution: MySoln.sln   X:\TheSource   $/Tools/MySoln          checked      Valid
Project1               X:\TheSource   $/Tools/MySoln          checked      Valid
Project2               X:\TheSource   $/Tools/MySoln (C:\)    checked     Invalid

我还能在哪里寻找尝试使绑定​​正确?

我可能没有提供足够的信息,但这就是我所知道的。

一如既往的感谢!

I had my VB.NET project and associated solution (developed in Visual Studio 2005) in Visual Source Safe.

Recently started working with another developer and needed to clean up.

Somewhere along the way I broke a binding. I went into

File -> Source Control -> Change Source Control

and tried to bind things correctly.

I unbound the project that was incorrectly bound, and tried to rebind it. I have two projects in the solution. This is what I get:

Solution/Project       Server Name    Server Binding         Connected     Status

Solution: MySoln.sln   X:\TheSource   $/Tools/MySoln          checked      Valid
Project1               X:\TheSource   $/Tools/MySoln          checked      Valid
Project2               X:\TheSource   $/Tools/MySoln (C:\)    checked     Invalid

Where else would I look to try to get the bindings correct?

I may not have given enough information, but this is all I know to give.

Thanks as always!

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

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

发布评论

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

评论(2

帅冕 2024-08-29 18:51:59

小问号按钮有时会有帮助。

需要将该项目签入源代码控制,并且绑定变得有效。

The little question mark button is occasionally helpful.

Needed to check in that project to source control, and the binding became valid.

起风了 2024-08-29 18:51:59

您使用的是哪个版本的 VSS?

在旧版本的 Visual SourceSafe(6.0c 之前)中,将 Visual Studio 的解决方案添加到其源代码管理后,绑定信息直接存储在 .sln 和 .proj 文件中。

从 VSS 6.0c 开始,所有绑定信息都保存在开发人员计算机上本地名为 MSSCCPRJ.SCC 的文件中。

我的猜测是,project2 的服务器路径不正确。仔细检查 .prj 文件是否位于 $/Tools/MySoln 下。

which version of VSS are you using?

In older versions of Visual SourceSafe (before 6.0c), after adding a solution of Visual Studio to its source control, the binding information was stored directly in the .sln and .proj files.

Since VSS 6.0c, all binding information is kept locally in files named MSSCCPRJ.SCC on the developer's machine.

My guess, the server path for project2 is incorrect. Double check the .prj file is under $/Tools/MySoln.

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