Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Discrepancy between solution's source control and the project file in Team Foundation Server 2010

Posted on 2013-01-22
2
1,429 Views
Last Modified: 2013-01-28
I recently converted over from Visual SourceSafe to Team Foundation Server 2010. All went through ok, but only afterwards I'd noticed I hadn't checked in all projects in the VSS directories. No big drama, until I created a working folder for a particular reporting services solution I was working on (have to access this in Visual Studio 2008 so installed the necessary plug-ins for this). I get the following error pop-up when I start up the solution:

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.

Open in new window


Following these instructions though doesn't work as I get the same error popping up when I go back in.

Any ideas how to fix please?
0
Comment
Question by:Grffster
2 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
ID: 38823584
Have you tried unbinding and rebinding the solution (or the affected projects)? The upgrade from VSS to TFS changes the bindings on all the projects to use the TFS provider instead of VSS. However, since you had some changes out that weren't checked in, your local copy still likely has the old provider in the project binding info.

From the file Menu, select "Source Control" and then "Change Source Control", and unbind the offending project. Once it's unbound, you can attempt to re-binding it (it may ask you to pick a folder in TFS to bind to), and that should update the info in the project to resolve this issue.

Alternatively, you can attempt to do a "Force Get" on the project file itself (not the whole project, since you've made changes you don't want to lose) using the Source Control Explorer. The project file in TFS would have had its bindings updated properly, but since you've got a local copy you're working with, it may just be the local copy that's out of date, and fetching a new copy of the just the project file may update the bindings properly as well.
0
 

Author Closing Comment

by:Grffster
ID: 38827123
When I opened up VS2008 to try this out on the offending solution, it had miraculously cured itself! However I tried it on a similar solution with the same issues and it didn't seem to work. Good suggestions though. Think I'll just live with it for now and see if that one corrects itself in the end too.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question