且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Crystal Reports部署问题

更新时间:2023-11-14 19:00:40

用户将不得不安装这些组件以使您的应用程序正常工作。如果您使用的是ClickOnce,则可以转到项目设置(解决方案资源管理器中的我的项目),然后转到发布选项卡。单击先决条件按钮。在这里,您可以指定程序运行之前所需的组件。您可以选择从服务器或供应商的网站下载这些先决条件的安装副本。



有关详细信息,请尝试研究这里。 [ ^ ]
The user is going to have to install those components to get your application to work. If you are using ClickOnce then you can go to the project settings (My Project in the Solution Explorer) then the Publish Tab. Click the Prerequisites button. Here you can specify components that your program requires before it will run. You can opt to have a copy of the installs for these prerequisites download from your server, or from the vendor's web site.

For more information, try researching here.[^]


我认为它可能,只需包含您所用的水晶报告的dll在您的发布或调试文件夹中的项目中引用,然后修改引用以指向程序集。



这样使用的dll但水晶报告将是那些,你可以将它们包含在你的安装程序中。
I think its possible, just include the dll of the crystal reports that you are referencing in the project in your release or debug folder, and then modify the references to point that assemblies.

This way the dlls to be use but crystal reports will be that ones and you can include them in your installer.