LijsDev.CrystalReportsRunner.Core
1.4.3
See the version list below for details.
dotnet add package LijsDev.CrystalReportsRunner.Core --version 1.4.3
NuGet\Install-Package LijsDev.CrystalReportsRunner.Core -Version 1.4.3
<PackageReference Include="LijsDev.CrystalReportsRunner.Core" Version="1.4.3" />
paket add LijsDev.CrystalReportsRunner.Core --version 1.4.3
#r "nuget: LijsDev.CrystalReportsRunner.Core, 1.4.3"
// Install LijsDev.CrystalReportsRunner.Core as a Cake Addin #addin nuget:?package=LijsDev.CrystalReportsRunner.Core&version=1.4.3 // Install LijsDev.CrystalReportsRunner.Core as a Cake Tool #tool nuget:?package=LijsDev.CrystalReportsRunner.Core&version=1.4.3
Crystal Reports Runner
Runner to allow the use of Crystal Reports in .NET Core using external process (in .NET Framework 4.8) and named pipes for communication.
If you are using Crystal Reports in your application you're probably stuck with .NET Framework 4.x. However, all the new features are in the .NET Core framework nowadays and you might want to take advantage of them by upgrading your app to use the latest version of .NET.
Unfortunately, Crystal Reports doesn't support .NET Core so one workaround is to isolate it into its own executable so that your own application doesn't need to have a dependency on Crystal Reports SDK.
Quick Start
Create a new Console Application and reference one of these NuGet packages depending the Crystal Reports runtime version you're using:
You need a version that is not listed here? Please refer to Creating a custom Runner or contact us.
You can download SAP Crystal Reports runtime engine for .NET Framwork from SAP download website
Create an engine:
using LijsDev.CrystalReportsRunner.Core; using var engine = new CrystalReportsEngine();
Optionally customizing viewer settings:
engine.ViewerSettings.AllowedExportFormats = ReportViewerExportFormats.PdfFormat | ReportViewerExportFormats.ExcelFormat; engine.ViewerSettings.ShowRefreshButton = false; engine.ViewerSettings.ShowCopyButton = false; engine.ViewerSettings.ShowGroupTreeButton = false; engine.ViewerSettings.SetUICulture(Thread.CurrentThread.CurrentUICulture);
Show the report and provide a connection string:
var report = new Report("SampleReport.rpt", "Sample Report") { Connection = CrystalReportsConnectionFactory.CreateSqlConnection( ".\\SQLEXPRESS", "CrystalReportsSample") }; report.Parameters.Add("ReportFrom", new DateTime(2022, 01, 01)); report.Parameters.Add("UserName", "Gerardo"); await engine.ShowReportDialog(report);
Samples
Samples are available in this repo.
Guides
Thanks
- This library heavily depends on PipeMethodCalls for Named Pipe communication.
- The signing certificate for the runners is provided by Microptic S.L.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- Newtonsoft.Json (>= 13.0.3)
- PipeMethodCalls (>= 4.0.1)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on LijsDev.CrystalReportsRunner.Core:
Package | Downloads |
---|---|
LijsDev.CrystalReportsRunner.13.0.20.x64
Runner to allow the use of Crystal Reports in .NET using external process. Copies runner to 'CrystalReportsRunner.13.0.20.x64' in your project output folder. Requires Crystal Reports Runtime v13.0.20 (x64) to be installed in computer where your application will be deployed. |
|
LijsDev.CrystalReportsRunner.13.0.20.x86
Runner to allow the use of Crystal Reports in .NET using external process. Copies runner to 'CrystalReportsRunner.13.0.20.x86' in your project output folder. Requires Crystal Reports Runtime v13.0.20 (x86) to be installed in computer where your application will be deployed. |
|
LijsDev.CrystalReportsRunner.13.0.32.x64
Runner to allow the use of Crystal Reports in .NET using external process. Copies runner to 'CrystalReportsRunner.13.0.32.x64' in your project output folder. Requires Crystal Reports Runtime v13.0.32 (x64) to be installed in computer where your application will be deployed. |
|
LijsDev.CrystalReportsRunner.13.0.32.x86
Runner to allow the use of Crystal Reports in .NET using external process. Copies runner to 'CrystalReportsRunner.13.0.32.x86' in your project output folder. Requires Crystal Reports Runtime v13.0.32 (x86) to be installed in computer where your application will be deployed. |
|
LijsDev.CrystalReportsRunner.13.0.34.x64
Runner to allow the use of Crystal Reports in .NET using external process. Copies runner to 'CrystalReportsRunner.13.0.34.x64' in your project output folder. Requires Crystal Reports Runtime v13.0.34 (x64) to be installed in computer where your application will be deployed. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.8 | 148 | 12/17/2024 |
1.4.7 | 122 | 12/9/2024 |
1.4.6 | 492 | 10/24/2024 |
1.4.5 | 181 | 10/18/2024 |
1.4.4 | 155 | 9/26/2024 |
1.4.3 | 765 | 6/25/2024 |
1.4.2 | 580 | 5/21/2024 |
1.4.1 | 374 | 5/9/2024 |
1.4.0 | 408 | 5/7/2024 |
1.3.3 | 1,137 | 12/6/2023 |
1.3.2 | 1,347 | 10/18/2023 |
1.3.1 | 1,168 | 10/18/2023 |
1.3.0 | 1,143 | 10/12/2023 |
1.2.2 | 1,253 | 8/2/2023 |
1.2.1 | 1,116 | 3/1/2023 |
1.2.0 | 1,545 | 10/27/2022 |
1.1.0 | 1,383 | 10/25/2022 |
1.0.0 | 1,310 | 10/24/2022 |
1.0.0-preview.0.51 | 126 | 10/23/2022 |
1.0.0-preview.0.40 | 121 | 10/22/2022 |
1.0.0-preview.0.36 | 135 | 10/21/2022 |
1.0.0-preview.0.25 | 145 | 10/21/2022 |
1.0.0-preview.0.21 | 126 | 10/20/2022 |