Cannot process 'reportname.rdlc' because i

2019-06-10 18:54发布

I've inherited a C# app which uses an .rdlc file. I get an error (not a warning) in my error list:

Cannot process 'reportTerminalStatus.rdlc' because it is not an EDMX file.

but unlike normal code compilation errors it doesn't prevent the production of an executable file. I don't want to ignore it, but is it safe too?

I've googled for information about the specific problem, but I'm not coming up with anything. I'm using VS2010 Ultimate on Windows 2008 server, and I've just run Windows Update so I have to assume I'm fully up to date. Am I missing a component? I've tried it on a VS2008 machine with the same results.

2条回答
趁早两清
2楼-- · 2019-06-10 19:39

This sometimes happens when build action is wrong for a file. In Visual Studio check properties for rdl. It might be set to EntityDeploy which is wrong.

查看更多
疯言疯语
3楼-- · 2019-06-10 19:57

according to

http://www.experts-exchange.com/Programming/Languages/.NET/Web_Services/Q_25956424.html

It has something to do with naming clash - specifically - you may have an entity (as in entity framework Entity) called

reportTerminalStatus 

in the project, sharing the same path as the rdlc report.

Does changing the report name change anything ?

查看更多
登录 后发表回答