Crystal Reports部署问题 [英] Crystal Reports Deployment issue

查看:85
本文介绍了Crystal Reports部署问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中有以下几点: -



1. SAP水晶报告

2.在线的Sql db所以没有担心它

3. .net框架



我想制作我的项目的.exe或想要部署项目,以便用户做不必在这台电脑上安装任何东西。我认为有一种方法可以为水晶报告添加dll文件和dotnet的东西,所以用户不必安装它我们可以说它只需点击一次应用程序

In my project there are following things :-

1. SAP crystal reports
2. Sql db that is online so no worry about it
3. .net framework

I want to make .exe of my project or want to deploy project such that User does not have to install anything on this computer . I think there is a possible way to add dll files for crystal reports and something for dotnet so user not have to install it we can say it as a click once application

推荐答案

用户将不得不安装这些组件以使您的应用程序正常工作。如果您使用的是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.


这篇关于Crystal Reports部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆