SSRS2.NETCore
1.2.0
See the version list below for details.
dotnet add package SSRS2.NETCore --version 1.2.0
NuGet\Install-Package SSRS2.NETCore -Version 1.2.0
<PackageReference Include="SSRS2.NETCore" Version="1.2.0" />
<PackageVersion Include="SSRS2.NETCore" Version="1.2.0" />
<PackageReference Include="SSRS2.NETCore" />
paket add SSRS2.NETCore --version 1.2.0
#r "nuget: SSRS2.NETCore, 1.2.0"
#:package SSRS2.NETCore@1.2.0
#addin nuget:?package=SSRS2.NETCore&version=1.2.0
#tool nuget:?package=SSRS2.NETCore&version=1.2.0
SSRS2.NETCore
Cross-platform RDLC report engine for .NET Framework 4.7.2 / 4.8 and .NET 8 / 9 / 10. Drop-in replacement for Microsoft SSRS Report Viewer — generate PDF, Excel, Word, HTML, and image reports from existing .rdlc files on Windows, Linux, macOS, Docker, Kubernetes, and cloud environments.
Powered by SkiaSharp — no GDI+ and no libgdiplus. On Linux, SkiaSharp needs fontconfig, which most systems have but
the official .NET Docker images do not; add it to your image:
RUN apt-get update && apt-get install -y --no-install-recommends libfontconfig1 && rm -rf /var/lib/apt/lists/*
(Alpine: apk add --no-cache fontconfig.)
Installation
dotnet add package SSRS2.NETCore
Basic Usage
using SSRS2.Reporting.NETCore;
// Load report definition
Stream reportDefinition; // your RDLC from file or resource
IEnumerable dataSource; // your data for the report
LocalReport report = new LocalReport();
report.LoadReportDefinition(reportDefinition);
report.DataSources.Add(new ReportDataSource("DataSet1", dataSource));
report.SetParameters(new[] { new ReportParameter("Parameter1", "value") });
// Render to PDF
byte[] pdf = report.Render("PDF");
// Or any other supported format
byte[] excel = report.Render("EXCELOPENXML"); // .xlsx
byte[] word = report.Render("WORDOPENXML"); // .docx
byte[] html = report.Render("HTML5"); // .html
byte[] png = report.Render("PNG"); // .png
Supported Export Formats
| Format | Render string | Extension |
|---|---|---|
"PDF" |
||
| Excel | "EXCELOPENXML" |
.xlsx |
| Word | "WORDOPENXML" |
.docx |
| HTML5 | "HTML5" |
.html |
| HTML 4.0 | "HTML4.0" |
.html |
| MHTML | "MHTML" |
.mhtml |
| PNG | "PNG" |
.png |
| JPEG | "JPEG" |
.jpg |
| WebP | "WEBP" |
.webp |
| TIFF, every page in one file | "IMAGE" (DeviceInfo OutputFormat: TIFF by default) |
.tif |
| PNG or JPEG, a stream per page | "IMAGE" (DeviceInfo OutputFormat: PNG, JPEG), as Report Viewer's code that prints a report reads them |
.png, .jpg |
Platform Support
- Windows x64
- Linux x64 (Ubuntu, Debian, Alpine)
- Linux ARM64 (Graviton, Raspberry Pi)
- macOS (Intel & Apple Silicon)
- Docker & Kubernetes
- Azure App Service / AWS ECS / Lambda / Google Cloud Run
Target Frameworks
- .NET Framework 4.7.2
- .NET Framework 4.8
- .NET 8.0 (LTS)
- .NET 9.0
- .NET 10.0
The same package works for both legacy .NET Framework apps and modern cross-platform .NET, so you can adopt SSRS2 in place on Windows today and migrate to .NET 10 / Linux when ready.
Licensing
SSRS2.NETCore is commercially licensed. Without a license key, output renders with a trial watermark (no exceptions thrown). See LICENSE.md and ssrs2.net/pricing for details.
Documentation
For full documentation, migration guides, and live demos, visit ssrs2.net.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 is compatible. 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 is compatible. 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 Framework | net472 is compatible. net48 is compatible. net481 was computed. |
-
.NETFramework 4.7.2
- Microsoft.CodeAnalysis.VisualBasic (>= 4.8.0)
- PdfSharp (>= 6.2.0)
- SkiaSharp (>= 2.88.8)
- SkiaSharp.HarfBuzz (>= 2.88.8)
- System.Text.Json (>= 8.0.5)
-
.NETFramework 4.8
- Microsoft.CodeAnalysis.VisualBasic (>= 4.8.0)
- PdfSharp (>= 6.2.0)
- SkiaSharp (>= 2.88.8)
- SkiaSharp.HarfBuzz (>= 2.88.8)
- System.Text.Json (>= 8.0.5)
-
net10.0
- HarfBuzzSharp.NativeAssets.Linux (>= 8.3.1.5)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.14.0)
- PdfSharp (>= 6.2.0)
- SkiaSharp (>= 3.119.4)
- SkiaSharp.HarfBuzz (>= 3.119.4)
- SkiaSharp.NativeAssets.Linux (>= 3.119.4)
- System.CodeDom (>= 10.0.0)
- System.IO.Packaging (>= 10.0.0)
- System.Security.Cryptography.Xml (>= 10.0.11)
- System.ServiceModel.Http (>= 10.0.652802)
-
net8.0
- HarfBuzzSharp.NativeAssets.Linux (>= 8.3.1.5)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.8.0)
- PdfSharp (>= 6.2.0)
- SkiaSharp (>= 3.119.4)
- SkiaSharp.HarfBuzz (>= 3.119.4)
- SkiaSharp.NativeAssets.Linux (>= 3.119.4)
- System.CodeDom (>= 8.0.0)
- System.IO.Packaging (>= 8.0.1)
- System.Security.Cryptography.Xml (>= 8.0.4)
- System.ServiceModel.Http (>= 8.1.0)
-
net9.0
- HarfBuzzSharp.NativeAssets.Linux (>= 8.3.1.5)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.8.0)
- PdfSharp (>= 6.2.0)
- SkiaSharp (>= 3.119.4)
- SkiaSharp.HarfBuzz (>= 3.119.4)
- SkiaSharp.NativeAssets.Linux (>= 3.119.4)
- System.CodeDom (>= 9.0.0)
- System.IO.Packaging (>= 9.0.0)
- System.Security.Cryptography.Xml (>= 9.0.19)
- System.ServiceModel.Http (>= 8.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.2.0: text in every script as Report Viewer draws it: Chinese, Japanese, Korean, Thai and the rest in the font Report Viewer falls back to, at that font's widths; Hebrew and Arabic right to left; Arabic and the Indic scripts shaped (HarfBuzz). Image output (PNG, TIFF, JPEG) laid out at Windows' pixel widths and line heights, so its pages end where Report Viewer's do. Cambria, Verdana, Tahoma, Georgia, Trebuchet MS and Consolas at their Windows widths. Underlines and strikethroughs in PDF and images. A chart, gauge or map its engine rejects shows Report Viewer's error box; chart text as GDI+ draws it, aliased where the chart has no background. PDFs keep the text a cell cuts off (found by a search), and have the report's exact page size. On Linux, the first render names the fontconfig package it needs. Details: https://ssrs2.net/