I faced this problem... while I restarted my solution. (Not sure what I did wrong... may be my VPN was not connected and I was not able to connect to TFS) then it took my solution offline and then all this problem started.
Unable to read the project file. The imported project file could not be loaded. Root element is missing.
Don't reinstall Visual Studio or even .NET framework.
What you have to do is delete the .user file for that project and it will work.

YOu are a genius!!!
ReplyDelete:-) Thank you Anon
ReplyDeleteThis comment has been removed by the author.
ReplyDeletehow to find .user file in visual studio 2010,
ReplyDeleteWhere .user file is located
I also got the same error but, I don't know how to remove .user file from my project....can any one help me..
look for the file inside the project's folder
Deletego to tools option from menu panel of Drive and Unchecked if hide extension for known file is checked. You will find the .user file just delete it
Deleteany one tell me the path for .user file in vs2010 .Urjent.....
ReplyDeleteerror in pop up:
ReplyDeleteone or more projects in the solution were not loaded correctly ,please see the output window for details
Error in output window :
D:\steadgate projects\RealEsate\RealEstate\RealEstate\RealEstate.csproj : error : Unable to read the project file 'RealEstate.csproj'.
D:\steadgate projects\RealEsate\RealEstate\RealEstate\RealEstate.csproj(1,1): The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
Thanks!!
ReplyDeleteDoes anyone know why it works?
thank you so fucking much!!!!!!!!!!!
ReplyDeletehahaha.. hope that saved your some time....
Delete