CrystalReportsRunner.Core
1.0.2
dotnet add package CrystalReportsRunner.Core --version 1.0.2
NuGet\Install-Package CrystalReportsRunner.Core -Version 1.0.2
<PackageReference Include="CrystalReportsRunner.Core" Version="1.0.2" />
<PackageVersion Include="CrystalReportsRunner.Core" Version="1.0.2" />
<PackageReference Include="CrystalReportsRunner.Core" />
paket add CrystalReportsRunner.Core --version 1.0.2
#r "nuget: CrystalReportsRunner.Core, 1.0.2"
#:package CrystalReportsRunner.Core@1.0.2
#addin nuget:?package=CrystalReportsRunner.Core&version=1.0.2
#tool nuget:?package=CrystalReportsRunner.Core&version=1.0.2
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
-
// Method 1: With Connection string using var engine = new CrystalReportsEngine(); // You can set Selection Formula Here in string format engine.ViewerSettings.RptSelectionFormula = "{TableName.ColumnName}=Field or value"; engine.ViewerSettings.RptCrt = true;// Default is false var report = new Report("\\RPTPath\RPTName.rpt", "Sample Report") { Connection = CrystalReportsConnectionFactory.CreateSqlConnection("ServerName", "DataBaseName", true) }; await engine.ShowReport(report);
-
// Method 2: You can also export file direct to folder or by memory mapped to variable using var engine = new CrystalReportsEngine(); // You can set Selection Formula Here in string format engine.ViewerSettings.RptSelectionFormula = "{TableName.ColumnName}=Field or value"; engine.ViewerSettings.RptCrt = true;// Default is false var report = new Report("\\RPTPath\RPTName.rpt", "Sample Report") { Connection = CrystalReportsConnectionFactory.CreateSqlConnection("ServerName", "DataBaseName", true) }; //This only export to folder await engine.Export(report, ReportExportFormats.PDF, $"D:\\{Guid.NewGuid()}") //Save to memory and return to variable var abc = await engine.ExportToMemoryMappedFile(report, ReportExportFormats.PDF) await engine.ShowReport(report);
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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 (1)
Showing the top 1 NuGet packages that depend on CrystalReportsRunner.Core:
Package | Downloads |
---|---|
CrystalReportsRunner
Runner to allow the use of Crystal Reports in .NET using external process. Copies runner to 'CrystalReportsRunner' in your project output folder. Requires Crystal Reports Runtime to be installed in computer where your application will be deployed. |
GitHub repositories
This package is not used by any popular GitHub repositories.