需要安装报表文件CRRedist2005_x86_chs.msi及CRRedist2005_x86.msi 在VS2005安装目录下找,或者包程序时打包进去: 新建一個Setup項目後,右擊Setup項目,選擇"屬性",在彈出對話框中單擊"Prerequisites.."按扭,在彈出對話框中選上CrystalReport,在下面的radiobox中選擇"Download prerequistites from the same location as my application"重新debug一次Setup項目即可.
在VS2005安装目录下找,或者包程序时打包进去:
新建一個Setup項目後,右擊Setup項目,選擇"屬性",在彈出對話框中單擊"Prerequisites.."按扭,在彈出對話框中選上CrystalReport,在下面的radiobox中選擇"Download prerequistites from the same location as my application"重新debug一次Setup項目即可.