无法处理“reportname.rdlc”因为它不是 EDMX 文件
我继承了一个使用 .rdlc 文件的 C# 应用程序。我的错误列表中出现错误(不是警告):
无法处理“reportTerminalStatus.rdlc”,因为它不是 EDMX 文件。
但与正常的代码编译错误不同,它不会阻止可执行文件的生成。我不想忽视它,但它也安全吗?
我在谷歌上搜索了有关特定问题的信息,但没有找到任何结果。我在 Windows 2008 服务器上使用 VS2010 Ultimate,并且刚刚运行了 Windows 更新,因此我必须假设我已完全更新。我缺少一个组件吗?我在VS2008机器上试过,结果是一样的。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当文件的构建操作错误时,有时会发生这种情况。在 Visual Studio 中检查 rdl 的属性。它可能设置为 EntityDeploy,这是错误的。
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.
根据
http://www.experts-exchange.com/ programming/Languages/.NET/Web_Services/Q_25956424.html
它与命名冲突有关 - 具体来说 - 你可能有一个实体(如在实体框架Entity中)
在项目中调用,与rdlc报告共享相同的路径。
更改报告名称会改变什么吗?
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
in the project, sharing the same path as the rdlc report.
Does changing the report name change anything ?