could not be loaded. Root element is missing.

ahmed.eng_4136 0 Reputation points
2023-07-21T17:37:02.2633333+00:00

i recently moved the repos folder to a new pc and installed vs2022 on it when i open the solution that i was working on previously one of the projects in the solution wont load and when trying to reload it i get this error
the project that is not loaded is a c++ class library project while the other projects are in c#
the project itself works fine if i were to move it outside of the solution


Microsoft Visual Studio


The imported project file "E:\Microsoft Visual Studio Enterprise 2022\VC\Tools\MSVC\14.31.31103\Auxiliary\Microsoft.VC.ServicingVersion.CAExtensions.props" could not be loaded. Root element is missing. E:\Microsoft Visual Studio Enterprise 2022\VC\Tools\MSVC\14.31.31103\Auxiliary\Microsoft.VC.ServicingVersion.props


OK


Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-07-31T07:29:09.2266667+00:00

    Hi @ahmed.eng_4136

    Welcome to Microsoft Q&A! 

    You can try to rename the Microsoft.VC.ServicingVersion.CAExtensions.props file and re-launch the Visual Studio. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.