“解决方案的源代码控制之间似乎存在差异." [英] "There appears to be a discrepancy between the solution's source control ...."

查看:125
本文介绍了“解决方案的源代码控制之间似乎存在差异."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们经常在Visual Studio 2005和TFS中收到此错误.

We get this error in Visual Studio 2005 and TFS very often.

任何人都可以帮助我们查明此消息的原因吗?

Can anyone help us pinpoint the cause for this message?

完整的消息是:

解决方案的来源之间似乎存在差异 控制有关某些项目的信息以及 项目文件.

There appears to be a discrepancy between the solution's source control information about some project(s) and the information in the project file(s).

要解决此差异,必须检查 项目文件并进行更新.但是,如果签出失败,并且 解决方案已关闭但未保存,您将再次看到此警告 下次您打开解决方案时.

To resolve this discrepancy it will be necessary to check out the project file(s) and update them. If the check out fails, however, and the solution is closed without saving, you will see this warning again the next time you open the solution.

单击确定"最终会导致一个签出框,其中需要签出整个项目文件列表.但是,更改源代码控制"窗口没有显示任何错误,并且保存所有内容并仅将其检入,最终显示为什么都没有改变,撤消所有内容"类型的消息.

Clicking OK eventually lead to a checkout box where it wants to check out a whole list of project files. However, the "Change source control" window doesn't show anything wrong, and saving everything and just checking it back in just ends up as "Nothing was changed, undoing everything" type of message.

编辑:您说得对, @Adam ,我们从VSS,但是前一阵子,我们经历了这样的过程来清理绑定,一切都变了.该错误最近开始出现.

You're right, @Adam, we have converted from VSS, but we went through such a procedure to cleanup the bindings when we did this a while ago and everything was peachy. The error has started cropping up lately.

推荐答案

听起来就像您将项目从VSS移到TFS,而原始解决方案文件仍然绑定到VSS-您需要将其重新绑定到TFS.

Sounds like you you moved the project from VSS to TFS, and the original solution file is still bound to VSS - you need to rebind it to TFS.

这是您需要的步骤要解决此问题.我要在这里摘录,但这似乎取决于几个因素,而且并不琐碎.

Here are the steps you'll need to do to fix this. I'd bring an excerpt here, but it appears to depend on several factors and isn't trivial.

或者,这是一个与项目绑定/取消绑定,如果上述情况不适用,则可能会应用.

Alternately, here's a thread that touches on project binding/unbinding which might apply if the above doesn't.

-亚当

这篇关于“解决方案的源代码控制之间似乎存在差异."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆