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

前端 未结 30 2507
北荒
北荒 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 the RDLC files work with resource files (.resx), I had this error because I hadn't created the correspondent resx file for my rdlc report.

    My solution was add the file .resx inside the App_LocalResources in this way:

    \rep
    \rep\myreport.rdlc
    \rep\App_LocalResources\myreport.rdlc.resx
    

提交回复
热议问题