Search code examples
.net-corecrystal-reportsvisual-studio-2019

How to add Crystal Report in Visual Studio 2019 in .NET Core project?


I have installed Crystal Report from SAP in Visual Studio 2019, but it's not showing up in the list to "Add Crystal Report". I want to add into a .NET Core project.

If there is another option to create a Crystal Report, please let me know.


Solution

  • afaik, your only option is to call another EXE. You can use the process object for that.

    You can use existing 3rd-party Crystal Reports viewers for this. See list here. Some of these have a command line API. So you can specify the .rpt file, parameters, export formats, export file name, printer destinations, etc.