无法处理“reportname.rdlc”因为它不是 EDMX 文件

发布于 2025-01-07 16:07:53 字数 328 浏览 2 评论 0原文

我继承了一个使用 .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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

美羊羊 2025-01-14 16:07:53

当文件的构建操作错误时,有时会发生这种情况。在 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.

蓝天 2025-01-14 16:07:53

根据

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

它与命名冲突有关 - 具体来说 - 你可能有一个实体(如在实体框架Entity中)

reportTerminalStatus 

在项目中调用,与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

reportTerminalStatus 

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

Does changing the report name change anything ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文