How to fix “Root element is missing.” when doing a Visual Studio (VS) Build?

前端 未结 30 2427
北荒
北荒 2020-12-01 09:13

How to fix \"Root element is missing.\" when doing a Visual Studio (VS) Build?

Any idea what file I should look at in my solution?

Actually, I am getting thi

30条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-01 09:32

    In my case, .csproj was changed to encoded format. I did undo changes to csproj in Git(Team explorer) and reloaded the project file. This solved the problem.

提交回复
热议问题