Saturday, February 12, 2011

"There appears to be a discrepancy between the solution's source control ...."

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

Can anyone help us pinpoint the cause for this message?

The full message is:

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.

Edit: 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.

I'll take a spin through google and see if I can find a couple of more procedures and see if they help. Thanks.

  • 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.

    From Adam Davis

0 comments:

Post a Comment