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

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

    In my case.I was getting missing element error pointing to NuGet.Config file. At that time it was looking some thing like this

    
    
      Packages
    
    

    then I just added configuration tag that actually wraps entire xml. Now working fine for me

    
    
      
         Packages
      
    
    

提交回复
热议问题