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

Viewed 975

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.

3 Answers

Crystal Reports is not compatible with .NET Core. This is because, under the covers, the runtime depends on COM technology.

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.

.Net Core is almost useless for database development without reporting support

Related