使用 SourceSafe 在 Visual Studio 中对项目进行单独的源代码管理绑定

发布于 2024-10-06 11:45:22 字数 278 浏览 0 评论 0原文

我已使用 Visual Studio 将我的解决方案添加到 SourceSafe。 然后在 SourceSafe 客户端中,我共享(并分支)了项目文件夹之一。 现在,回到 Visual Studio,我想将该项目的源代码管理位置更改为分支源位置。但是,当我选择“更改源代码管理”时,我无法选择列表中的该项目:无论我选择哪个项目,解决方案中的所有项目都显示为选定状态,如果我尝试更改该项目的位置,它抱怨我试图将解决方案的源代码管理文件夹设置为无效文件夹。 我需要做什么才能将源代码管理分离到项目级别,以便可以在项目级别完成源代码管理文件夹映射?

I have added my solution to SourceSafe using Visual Studio.
Then in the SourceSafe client I have Shared(and branched) one of the project folders.
Now, back in Visual Studio, I want to change the source control location for that project to the branched source location. But when I select Change Source Control, I can't select that one project in the list: no matter what project I select, all the projects in the solution show as selected, and if I try to change the location for that project, it complains that I'm trying to set the source control folder for the SOLUTION to an invalid folder.
What do I need to do to separate the source control down to project level such that source control folder mappings can be done on a project level?

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

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

发布评论

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

评论(2

柏拉图鍀咏恒 2024-10-13 11:45:22

是的,事实证明我必须将我的解决方案与源代码管理解除绑定。然后使用“更改源代码管理”对话框单独绑定解决方案的每个项目。

Yup, it turns out I had to unbind my solution from source control. Then use the Change Source Control dialog to bind each project of my solution individually.

红玫瑰 2024-10-13 11:45:22

尝试以下操作:

创建一个空白解决方案,仅向其中添加一个项目。将解决方案添加到 VSS(该项目应该已经存在)。

然后更改该项目解决方案组合的绑定。保存并关闭解决方案。

现在打开您的原始解决方案备份并检查项目的绑定。

Try this:

Create a blank solution, add just the one project to it. Add the solution to VSS (the project should already be there).

Then change the bindings for that project-solution combo. Save it and close solution.

Now open your original solution back up and check the bindings for your project.

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