无法处理'reportname.rdlc',因为它不是EDMX文件 [英] Cannot process 'reportname.rdlc' because it is not an EDMX file

查看:91
本文介绍了无法处理'reportname.rdlc',因为它不是EDMX文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了一个使用.rdlc文件的C#应用​​程序.我在错误列表中收到一个错误(不是警告):

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

无法处理'reportTerminalStatus.rdlc',因为它不是EDMX 文件.

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?

我已经在Google上搜索了有关特定问题的信息,但是我没有提出任何建议.我在Windows 2008服务器上使用VS2010 Ultimate,并且我刚刚运行Windows Update,所以我必须假设自己是最新的.我是否缺少组件?我已经在VS2008机器上尝试了相同的结果.

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.

推荐答案

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

这篇关于无法处理'reportname.rdlc',因为它不是EDMX文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆