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

前端 未结 30 2438
北荒
北荒 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:19

    In my case, I got this error because of an empty packages.config file. This caused the NUGET package manager to fail and show the error Root element is missing. The resolution was to copy over elements from another non-empty file and then change it according to the needs.

    Example (packages.config):

    
    
     
     
    
    

提交回复
热议问题