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

There are times when loading a solution in Visual Studio 2005 you get a “Some of the properties associated with the solution could not be read” but the solution is nonetheless loaded.

There’s a KB about it, but the problem we had here had nothing to do to what’s being described on the article.

The problem lays on the fact that for some reason, the TFS source control section of the solution file got duplicated and there were multiple instances of it:

GlobalSection(TeamFoundationVersionControl) = preSolution

….

EndGlobalSection

 

To fix the problem:

  1. Unbind the solution from source control
  2. Open the .sln with Notepad and make sure you delete all of the “GlobalSection(TeamFoundationVersionControl) = preSolution” sections from the file.
  3. Bind the solution to source control again.

With that, Visual Studio will recreate the section properly and you should stop receiving the message.

This entry was posted in Team System. Bookmark the permalink.

5 Responses to Some of the properties associated with the solution could not be read

  1. Craig says:

    You sir are awesome! Fixed my issue. Thanks!

  2. jerk says:

    worked great for me, tyvm

  3. Raj says:

    AWESOME!!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s