{"id":21058060,"url":"https://github.com/gerardo-lijs/crystalreportsrunner","last_synced_at":"2025-04-12T21:24:52.064Z","repository":{"id":62347461,"uuid":"554710294","full_name":"gerardo-lijs/CrystalReportsRunner","owner":"gerardo-lijs","description":"Runner to allow the use of Crystal Reports in .NET Core using external process (in .NET Framework 4.8) and named pipes for communication","archived":false,"fork":false,"pushed_at":"2024-12-17T09:18:16.000Z","size":5658,"stargazers_count":68,"open_issues_count":3,"forks_count":20,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-04T00:57:28.474Z","etag":null,"topics":["crystal-reports","net48","netcore"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gerardo-lijs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-20T09:01:51.000Z","updated_at":"2025-03-10T03:21:58.000Z","dependencies_parsed_at":"2022-10-31T06:45:50.551Z","dependency_job_id":"98b1b125-885a-4584-b171-e8af80487809","html_url":"https://github.com/gerardo-lijs/CrystalReportsRunner","commit_stats":{"total_commits":82,"total_committers":4,"mean_commits":20.5,"dds":"0.41463414634146345","last_synced_commit":"37bb86657871eaa5bf2d3f8cf68b609dd88e4678"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FCrystalReportsRunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FCrystalReportsRunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FCrystalReportsRunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FCrystalReportsRunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gerardo-lijs","download_url":"https://codeload.github.com/gerardo-lijs/CrystalReportsRunner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248633201,"owners_count":21136827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crystal-reports","net48","netcore"],"created_at":"2024-11-19T17:06:14.130Z","updated_at":"2025-04-12T21:24:52.037Z","avatar_url":"https://github.com/gerardo-lijs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crystal Reports Runner\n\nRunner to allow the use of Crystal Reports in .NET Core using external process (in .NET Framework 4.8) and named pipes for communication.\n\nIf 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.\n\nUnfortunately, 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. \n\n## Quick Start \n\n1. Create a new Console Application and reference one of these NuGet packages depending the Crystal Reports runtime version you're using:\n   - Crystal Reports v13.0.35 x64: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.35.x64.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.35.x64)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.35.x64)\n   - Crystal Reports v13.0.35 x86: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.35.x86.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.35.x86)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.35.x86)\n   - Crystal Reports v13.0.34 x64: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.34.x64.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.34.x64)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.34.x64)\n   - Crystal Reports v13.0.34 x86: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.34.x86.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.34.x86)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.34.x86)\n   - Crystal Reports v13.0.33 x64: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.33.x64.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.33.x64)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.33.x64)\n   - Crystal Reports v13.0.33 x86: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.33.x86.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.33.x86)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.33.x86)\n   - Crystal Reports v13.0.32 x64: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.32.x64.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.32.x64)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.32.x64)\n   - Crystal Reports v13.0.32 x86: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.32.x86.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.32.x86)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.32.x86)\n   - Crystal Reports v13.0.20 x64: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.20.x64.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.20.x64)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.20.x64)\n   - Crystal Reports v13.0.20 x86: [![NuGet version](https://img.shields.io/nuget/v/LijsDev.CrystalReportsRunner.13.0.20.x86.svg?style=flat\u0026label=nuget%3A%20LijsDev.CrystalReportsRunner.13.0.20.x86)](https://www.nuget.org/packages/LijsDev.CrystalReportsRunner.13.0.20.x86)\n   - You need a version that is not listed here? Please refer to [Creating a custom Runner](./docs/custom-runner.md) or contact us.\n   \n   - You can download SAP Crystal Reports runtime engine for .NET Framwork from [SAP download website](https://origin.softwaredownloads.sap.com/public/site/index.html)\n\n2. Create an engine:\n\n   ```csharp\n   using LijsDev.CrystalReportsRunner.Core;\n   \n   using var engine = new CrystalReportsEngine();\n   ```\n\n3. Optionally customizing viewer settings:\n\n   ```csharp\n   engine.ViewerSettings.AllowedExportFormats =\n       ReportViewerExportFormats.PdfFormat |\n       ReportViewerExportFormats.ExcelFormat;\n   \n   engine.ViewerSettings.ShowRefreshButton = false;\n   engine.ViewerSettings.ShowCopyButton = false;\n   engine.ViewerSettings.ShowGroupTreeButton = false;\n   \n   engine.ViewerSettings.SetUICulture(Thread.CurrentThread.CurrentUICulture);\n   ```\n\n4. Show the report and provide a connection string:\n\n   ```csharp\n   var report = new Report(\"SampleReport.rpt\", \"Sample Report\")\n   {\n       Connection = CrystalReportsConnectionFactory.CreateSqlConnection(\n           \".\\\\SQLEXPRESS\", \n           \"CrystalReportsSample\")\n   };\n   \n   report.Parameters.Add(\"ReportFrom\", new DateTime(2022, 01, 01));\n   report.Parameters.Add(\"UserName\", \"Gerardo\");\n   \n   await engine.ShowReportDialog(report);\n   ```\n\n## Samples\n\nSamples are available in [this repo](https://github.com/gerardo-lijs/CrystalReportsRunner.Samples).\n\n## Guides\n\n- [Creating a custom Runner](./docs/custom-runner.md)\n- [How this library works](./docs/how-this-library-works.md)\n\n## Thanks\n\n- This library heavily depends on [PipeMethodCalls](https://github.com/RandomEngy/PipeMethodCalls) for Named Pipe communication.\n- The signing certificate for the runners is provided by [Microptic S.L.](https://www.micropticsl.com/)\n\n## MIT License\n\nCopyright (c) 2022-2024 Gerardo Lijs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerardo-lijs%2Fcrystalreportsrunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerardo-lijs%2Fcrystalreportsrunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerardo-lijs%2Fcrystalreportsrunner/lists"}