源代码管理关联绑定问题

发布于 2024-08-01 15:49:33 字数 523 浏览 3 评论 0原文

我已经开始处理公司的一个现有项目,大约一个月前该项目已签入 VSS 6.0。 它是使用 Visual Studio 2005 和 C# 构建的,所有引用都指向 .NET 2.0。 我进入 VSS 并像往常一样设置我的工作文件夹并获得最新版本。 我已经打开了这个项目,此时系统提示我:

该解决方案似乎处于源代码管理之下,但找不到其绑定信息。 MSSCCPRJ.SCC 文件或保存解决方案源代码管理设置的其他项目可能已被删除。 由于无法自动恢复丢失的信息,因此绑定丢失的项目将被视为不受源代码控制。

我单击“确定”,该提示后直接出现以下提示:

关联的源代码管理插件未安装或无法初始化。

这给我提供了以下选择:

  1. 暂时不受控制地工作。
  2. 永久删除源代码管理关联绑定

如何纠正这种情况? 我希望该项目仍由 VSS 控制。 有任何想法吗?

I've started working on an existing project at my company that was check into VSS 6.0 about a month ago. It was built using Visual Studio 2005 and C# and references all point to .NET 2.0. I went into VSS and set my working folder as per usual and got the latest version. I've opened this project at which point I'm prompted with this:

The solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.

I click "OK" and that prompt is directly followed by this one:

The associated source control plug-in is not installed or could not be initialized.

That presents me with these options:

  1. Temporarily work uncontrolled.
  2. Permanently remove source control association bindings

How can I rectify this situation? I'd like the project to remain in VSS under control. Any Ideas?

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

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

发布评论

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

评论(4

云巢 2024-08-08 15:49:33

与其重新绑定数百个文件,不如看看这个解决方案:
http://regev.wordpress.com/2008/ 03/29/binding-to-source-control-issue/

“您应该打开 Visual Studio 并选择:文件|源代码管理|从源代码管理打开...,而不是通过源代码管理客户端获取最新版本...这将在第二台机器上创建解决方案,而不会出现任何绑定问题。”

instead of rebinding 100s of files, have a look at this solution:
http://regev.wordpress.com/2008/03/29/binding-to-source-control-issue/

"instead of getting the latest version through the source control client, you should have opened Visual Studio and choose: File|Source Control|Open from Source Control… this would have created the solution on the second machine with no binding problems."

酒中人 2024-08-08 15:49:33

转到文件 -> 源代码控制 -> 更改源代码管理,然后选择 VSS 下的每个项目并将其“绑定”到 VSS 中的正确目录,它将提示您输入 vss 用户名和密码

Go to File -> Source Control -> Change Source Control, then select each project that you have under VSS and "Bind" it to the correct directory in VSS, it will prompt you for vss user name and password

这个俗人 2024-08-08 15:49:33

像往常一样加载解决方案,然后右键单击不可用的项目。 然后编辑项目文件以注释 xml 中的源代码管理设置。
然后重新加载项目。

Load the solution as usual and then right click on the unavailable project. Then edit the project file to comment the source control settings in the xml.
Then reload the project.

夏末的微笑 2024-08-08 15:49:33

一切都很简单:
首先,通过源代码管理资源管理器添加缺少的项目。
然后,办理登机手续。
然后将其添加到解决方案中并签入更改的解决方案文件。
瞧!

Everything is simple:
first of all, add missing project via Source Control Explorer.
Then, make check-in.
Then add it into solution and make check-in of changed solution file.
Voila!

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