步骤3:转到发布项目的属性,选择适当的应用程序,选中SAP Crystal Reports Runtime Engine,然后从与我的应用程序相同的位置选择下载先决条件. 第4步::右键单击该项目并发布,您现在将看到一次单击的应用程序中包含了Crystal Report安装.希望这会有所帮助.I have a client WPF which uses crystal reports. For now in client machine I have to install separately the crystal reports and then the app. Is there a way to attach it with the app installation?I tried to add this as a perquisite in publish properties but it gives error during publish as it can't find on the local machine under Crystal Reports for .NET Framework 4.0 folder. 解决方案 Here is my take on this:Step 1: Install SAP crystal runtime from here. Make sure you download both 32 and 64 bit msi of correct version, in my case it was 13.0.12, in your case it could be different, so be sure before you download.Step 2: Once download put the both 32 and 64 bit msi under sdk directory. Default location would be: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\Packages\Crystal Reports for .NET Framework 4.0Step 3: Go to publish properties of the project, select application perquisite, check mark SAP Crystal Reports Runtime Engine, and also choose download prerequisite from same location as my application.Step 4: Right click the project and publish, you will see now crystal report installation included in your once click app.Hope this helps. 这篇关于在Clickonce部署中以必备条件安装SAP Crystal Report的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-27 23:52