[已解决]使用Crystal Report在C#中创建程序包 [英] [Solved] Create package in C# with crystal report
问题描述
我在C#中有一个包含水晶报表的项目,并且在其中使用了Access 2007数据库连接.
让我知道如何创建要安装的软件包,以便它将包括.net框架在内的所有程序集组合在一起.
我已经尝试过打包和部署项目,但是它错过了Crystal Reports的一些程序集,并且没有Access 2007的驱动程序.
客户端计算机实际上具有Access 2003,因此我需要通过安装程序本身安装Access 2007驱动程序.
请引导我.
I have one project in C# with crystal reporting included and I have used Access 2007 database connection in it.
Do let me know how to create the package for installation so that it will combine all the assemblies including .net framework.
I have tried the package and deployement project but it missed out few of the assemblies for crystal report and doesn''t have the driver for Access 2007.
Actually client machine have Access 2003 so I need to install the Access 2007 driver through my setup itself.
Please guid me .
推荐答案
转到设置项目的属性,然后单击 ^ ] .
在那里-
适用于Visual Studio 2008的Crystal Reports Basic(x86,x64)
Microsoft Office 2007主互操作程序集
Microsoft Visual Studio 2008报表查看器*
Go to setup project''s properties and click prerequisites[^].
There you have -
Crystal Reports Basic for Visual Studio 2008 (x86, x64)
Microsoft Office 2007 Primary Interop Assemblies
Microsoft Visual Studio 2008 Report Viewer*
这篇关于[已解决]使用Crystal Report在C#中创建程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!