Visual Studio warning: "Some of the properties associated with the solution could not be read"
I just fixed a similar issue with a VS2010 solution with 35 projects... The cause was a duplicated
GlobalSection(TeamFoundationVersionControl)
section in the solution file. I closed the solution, removed the duplicate GlobalSection(TeamFoundationVersionControl) config and reloaded the solution and the warning message was gone.
If this is not the issue for you, considering you only have 2 projects I would ditch the busted solution file, create a fresh solution and re-add your two projects...
Seems like there is a number of reasons for this warning. I was getting it because my solution file SccNumberOfProjects = 4
when there was only 3.
The best solution is to force the VS to regenerate the configs. To do this:
- Open the sln file with a text editor.
- Scroll down till you reach the last "EndProject" element.
- Delete everything after that.
- Save, Close and rebuild the solution and everything will be regenerated.