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

by Gabriel Lozano-Moran 4. March 2008 17: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 9:13:36 AM #

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 11:38:53 PM #

That worked for me as well, thanks !

Luciano | Reply

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

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 7:22:07 PM #

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

Epon | Reply

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



About me

Hello, my name is Gabriel Lozano-Moran. I am a .NET developer living in Belgium.

On this blog you will read about my daily struggles, adventures, failures and triumphs in the wonderful and exciting world of .NET development.