We ran into this problem too.
1) A possible solution for SourceGear to consider implementing is below. ('Possible solution')
2) This was challenging to debug as VS produced so many red herring error messages. I've included the error messages which we saw for future reference.
3) The solution worked perfectly, but only after finding it on this forum. We tried many other things first due to the VS red herring error messages. Vault itself was not producing any error messages (as only its interaction with Visual Studio was a problem).
Images Error_1, Error_2, Error_3: The first three error message showed up after installing the VS 2012 (with the current upgrades from Tools and Extensions, etc.)... and likely 2 were appearing after the initial crash.
- Error_1.png (5.62 KiB) Viewed 52849 times
- Error_2.png (8.31 KiB) Viewed 52849 times
- Error_3.png (7.47 KiB) Viewed 52849 times
Images Error_4, Error_5: After the initial re-install of VS 2012 (no updates) we were also getting the error messages 4 & 5.
- Error_4.png (13.23 KiB) Viewed 52849 times
- Error_5.png (7.59 KiB) Viewed 52849 times
Using Visual Studio 2012
Using ASP.NET 4.5
Windows 10
Reinstalled Vault and VS multiple times.
Also this error message was appearing in Visual Studio:
"Some of the properties associated with the solution could not be read. ...*.csproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component."
Turns out you can temporarily solve the last bit by removing .suo file. A fun fact, but not really a solution.
You can also temporarily load the project be removing 4 lines of data in the project file.
But, the actual solution is the one above.
Please note that in our case too this error occurred after the computer crashed due to overheating.
Possible solution: Perhaps a future version of vault can check for blank copies of this xml file when access by a user? Is there any reason for Vault to keep blank version of this file?
For the rare cases when this occurs, such a solution might save users a considerable amount of time and effort.
Thank you.