• <tfoot id='tbEIv'></tfoot>
  • <small id='tbEIv'></small><noframes id='tbEIv'>

      <i id='tbEIv'><tr id='tbEIv'><dt id='tbEIv'><q id='tbEIv'><span id='tbEIv'><b id='tbEIv'><form id='tbEIv'><ins id='tbEIv'></ins><ul id='tbEIv'></ul><sub id='tbEIv'></sub></form><legend id='tbEIv'></legend><bdo id='tbEIv'><pre id='tbEIv'><center id='tbEIv'></center></pre></bdo></b><th id='tbEIv'></th></span></q></dt></tr></i><div id='tbEIv'><tfoot id='tbEIv'></tfoot><dl id='tbEIv'><fieldset id='tbEIv'></fieldset></dl></div>
        <bdo id='tbEIv'></bdo><ul id='tbEIv'></ul>
        <legend id='tbEIv'><style id='tbEIv'><dir id='tbEIv'><q id='tbEIv'></q></dir></style></legend>

        如何从 .Net Core 调用/引用 Crystal Reports

        How to call/reference Crystal Reports from .Net Core(如何从 .Net Core 调用/引用 Crystal Reports)
          • <bdo id='tqOgA'></bdo><ul id='tqOgA'></ul>

            • <legend id='tqOgA'><style id='tqOgA'><dir id='tqOgA'><q id='tqOgA'></q></dir></style></legend>
            • <small id='tqOgA'></small><noframes id='tqOgA'>

                <tbody id='tqOgA'></tbody>

              <tfoot id='tqOgA'></tfoot>

                <i id='tqOgA'><tr id='tqOgA'><dt id='tqOgA'><q id='tqOgA'><span id='tqOgA'><b id='tqOgA'><form id='tqOgA'><ins id='tqOgA'></ins><ul id='tqOgA'></ul><sub id='tqOgA'></sub></form><legend id='tqOgA'></legend><bdo id='tqOgA'><pre id='tqOgA'><center id='tqOgA'></center></pre></bdo></b><th id='tqOgA'></th></span></q></dt></tr></i><div id='tqOgA'><tfoot id='tqOgA'></tfoot><dl id='tqOgA'><fieldset id='tqOgA'></fieldset></dl></div>

                  本文介绍了如何从 .Net Core 调用/引用 Crystal Reports的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个包含多个项目的 Visual Studio 解决方案.

                  I have a visual studio solution that has several projects in it.

                  • 解决方案
                    • 领域层(类库> .Net Core 2.2)
                      • 保存所有数据库模型
                      • 保存与数据库的所有交互.我参考了 Microsoft.EntityFrameworkCore 和 Oracle.EntityFrameworkCore
                      • 是应用的主要交互方式

                      我正处于需要集成报告和打印报告的地步.我一直在我的应用程序中使用 Crystal Reports(非常成功).但是,由于 Crystal 需要 Framework 4.5,我不知道如何使其工作.

                      I'm at the point where I need to integrate reporting and printing of reports. I've always used Crystal Reports for my applications (with good success). However, since Crystal requires Framework 4.5 I can't figure out how to make that work.

                      我已经创建了我的报告对象并对其进行了测试.他们在自己的独立解决方案中工作得很好.一旦我在我的核心应用程序中引用了框架应用程序,我就会中断.特别是当我尝试创建一个 Crystal 'ReportDocument' 对象时,我会崩溃.我已经看到过 SO(并经过测试),由于 DLL 不同,您不能将 .Net Core 与 .Net Framework 混合使用.

                      I've created my Reporting objects and tested them. They work great in their own standalone solution. Once I reference the Framework app in my Core app I break. In particular I break when I attempt to create a Crystal 'ReportDocument' object . I've seen all over SO (and tested) you can't mix a .Net Core with .Net Framework because of the different DLLs.

                      关于如何让报告/打印工作的任何建议?我对 Crystal Reports 也不挑剔.

                      Any suggestions on how I can get reporting/printing to work? I'm not picky when it comes to Crystal Reports either.

                      推荐答案

                      你不走运,因为它不受支持.我鼓励您寻找其他替代方案

                      You are out of luck, because it is not supported. I would encourage you looking into other alternatives

                      来自 Crystal Reports 供应商网站:

                      From the Crystal Reports vendor website:

                      因此,将您的核心项目更新到完整的 4.7.1,它应该可以工作.我只安装了 4.7.1,它适用于我现有的设置为 4.0 的 ASP.NET 项目.

                      So update your Core Project to the full 4.7.1 and it should work. I just install 4.7.1 and it works for my existing ASP.NET project that was set to 4.0.

                      需要明确的是,不支持 Framework 2.0 Core

                      To be clear, Framework 2.0 Core is NOT supported

                      来源:水晶报告ASP .NET Core 2.0

                      这篇关于如何从 .Net Core 调用/引用 Crystal Reports的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                      本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                  Accessing attribute info from DTE(从 DTE 访问属性信息)
                  c# Hide a property in datagridview with datasource(c#使用数据源隐藏datagridview中的属性)
                  Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                  C# Attributes and their uses(C# 属性及其用途)
                  C# - Getting all enums value by attribute(C# - 按属性获取所有枚举值)
                  <i id='1qaQ4'><tr id='1qaQ4'><dt id='1qaQ4'><q id='1qaQ4'><span id='1qaQ4'><b id='1qaQ4'><form id='1qaQ4'><ins id='1qaQ4'></ins><ul id='1qaQ4'></ul><sub id='1qaQ4'></sub></form><legend id='1qaQ4'></legend><bdo id='1qaQ4'><pre id='1qaQ4'><center id='1qaQ4'></center></pre></bdo></b><th id='1qaQ4'></th></span></q></dt></tr></i><div id='1qaQ4'><tfoot id='1qaQ4'></tfoot><dl id='1qaQ4'><fieldset id='1qaQ4'></fieldset></dl></div>

                    1. <legend id='1qaQ4'><style id='1qaQ4'><dir id='1qaQ4'><q id='1qaQ4'></q></dir></style></legend>
                        <tbody id='1qaQ4'></tbody>
                          <bdo id='1qaQ4'></bdo><ul id='1qaQ4'></ul>

                          <small id='1qaQ4'></small><noframes id='1qaQ4'>

                            <tfoot id='1qaQ4'></tfoot>