Thursday, October 21, 2010

Visual Studio Error - The imported project file could not be loaded. Root element is missing.

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.


  1. YOu are a genius!!!

  2. This comment has been removed by the author.

  3. how to find .user file in visual studio 2010,
    Where .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..

    1. look for the file inside the project's folder

    2. go 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

    3. I cant find it too, I have shawn all of hidden files

  4. any one tell me the path for .user file in vs2010 .Urjent.....

  5. error in pop up:
    one 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.

  6. Thanks!!
    Does anyone know why it works?

  7. Replies
    1. hahaha.. hope that saved your some time....

  8. Have Delete the .user File from the project but m project does not load.
    Any help?

  9. Thanks for the idea, but this doens't work for me.

  10. nice shared content! thanks!


FEEDJIT Live Traffic Map