FIX: Some of the properties associated with the solution could not be read

by Gabriel Lozano-Moran 4. March 2008 14:28

Yesterday when opening one of our solutions I received the following dialog:

image

I remember having the same problem more than a year ago with a Visual Studio 2005 solution and the problem was that we had duplicate GlobalSections in the .sln file. So hoping that this time we had the same problem I opened the .sln file in Notepad and I saw that we had the following double-section with different info:

GlobalSection(TeamFoundationVersionControl) = preSolution

What I did to solve this was first unbind the solution from TFS. Remove these double GlobalSections manually in the .sln file and then rebind the solution. Problem solved!

Tags: , ,

Team System

Comments

7/15/2008 6:13:36 AM #

xavier

Thanks for your explanation, that led me to find our problem.
In our case, The problem was with the GlobalSection(TeamFoundationVersionControl). The parameter SccNumberOfProjects had a wrong value. I think one developer added a project and checked in (X->X+1) and after that, another added a project and removed one (X->X+1->X). Maybe TFS saw no change in that line and decided that X+1 was more recent than X and kept it.
I changed the parameter to X and we don't have the alert anymore.
I hope my explanation is still understandable...

xavier | Reply

8/7/2008 8:38:53 PM #

Luciano

That worked for me as well, thanks !

Luciano | Reply

8/8/2008 8:56:33 PM #

Marv Rowe

Thanks - worked like a charm!!!

Also had dups in GlobalSection(TextTemplating) = postSolution so don't stop after deleting the duplicate GlobalSection(TeamFoundationVersionControl) entries.

Marv Rowe | Reply

2/20/2009 4:22:07 PM #

Epon

Thank you! This is what I'm exactly looking for.

Epon | Reply

3/18/2010 5:22:08 AM #

Manoj Tripathi

Thanks

This solved my problem.

Manoj Tripathi India | Reply

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading