[英]Crystal Reports Visual Studio 2012
I have created a windows Form application in Visual Studio 2008 and now I have Installed Visual Studio 2012. But my crystal Reporting is not working After searching.net for days on the inte.net I have Done following things but still my Application is not working.我已经在 Visual Studio 2008 中创建了一个 windows Form 应用程序,现在我已经安装了 Visual Studio 2012。但是我的 crystal Reporting 不工作 在 inte.net 上搜索.net 几天后,我已经完成了以下操作,但我的应用程序仍然无法工作.
I Installed SAP crystal reports for Studio 2012 and included the reference of CrystalDecisions.Data.AdoDotNetInterop
我为 Studio 2012 安装了 SAP crystal reports 并包含了
CrystalDecisions.Data.AdoDotNetInterop
的参考
but After that I got following Error但在那之后我得到了以下错误
The type or namespace name 'CrystalReports' does not exist in the namespace 'CrystalDecisions' (are you missing an assembly reference?) The type or namespace name 'ReportSource' does not exist in the namespace 'CrystalDecisions' (are you missing an assembly reference?)命名空间“CrystalDecisions”中不存在类型或命名空间名称“CrystalReports”(是否缺少程序集引用?)命名空间“CrystalDecisions”中不存在类型或命名空间名称“ReportSource”(是否缺少程序集引用?)
and 26 other errors as well all of them are about missing a using directive or an assembly reference和其他 26 个错误,所有这些错误都与缺少 using 指令或程序集引用有关
3. After that I commented out my old references than I got Following Errors 3. 之后我注释掉了我的旧参考文献,然后我得到了 Following Errors
The type or namespace name ReportClass could not be found (are you missing a using directive or an assembly reference?)
And 24 other Errors all are about missing a using directive or an assembly reference.其他 24 个错误都是关于缺少 using 指令或程序集引用。
Thanks in advance for any help.在此先感谢您的帮助。
Seems like vs 2012 doesnt found references Try manually go to solution explorer in (usually right side in vs) right click in refereces in your project and find crystal report in list for Assemblies->Solution or Assemblies ->Extensions select references thus add it to project 好像vs 2012找不到参考尝试手动转到解决方案资源管理器(通常在vs右侧),在项目中的参考上单击鼠标右键,然后在“组合件”->“解决方案”或“组合件”->“扩展名”列表中找到水晶报表,将其添加到引用中项目
Download it from https://www.dllme.com/getfile.php?file=14667&id=2782e6dde4bb52c4f71bab7c429b4091从https://www.dllme.com/getfile.php?file=14667&id=2782e6dde4bb52c4f71bab7c429b4091 下载
And add references by right clikcking on references folder in your visual studio.并通过右键单击 visual studio 中的引用文件夹来添加引用。
Brows it from the downloaded location.从下载的位置浏览它。
It's working for me.它对我有用。 Regards!
问候!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.