Jsreport Can';不要将自定义配方与.Net Core一起使用
我按照说明在.Net中安装了一个自定义配方:但我无法使它工作Jsreport Can';不要将自定义配方与.Net Core一起使用,jsreport,Jsreport,我按照说明在.Net中安装了一个自定义配方:但我无法使它工作 我已经在我的项目文件夹(存储.csproj的地方)中创建了一个jsreport 我已经在jsreport文件夹中创建了jsreport.config.json 我已经使用“npm安装electron pdf”将electron pdf安装到jsreport文件夹中 我使用xcopy在构建时将此文件夹复制到输出目录 构建后,我可以在\bin\Debug\netcoreapp2.0中看到jsreport文件夹,其中包含jsreport.c
Error during rendering report: Recipe 'electron-pdf' not found
当我说
HttpContext.JsReportFeature().Recipe(Recipe.ElectronPdf);
我做错了什么?我自己解决了。我必须安装
jsreport-electron-pdf
以及electron-pdf
(需要两个NPM软件包)