安装多个 SAP Crystal Reports 版本?

问题描述 投票:0回答:1

我有多个 Windows 应用程序,一些是基于 Visual Studio 版本 13 构建的,另一些是基于版本 22 构建的。现在我无法同时使用这些应用程序,因为这些应用程序需要不同的 SAP Crystal Reports 版本。

如何同时安装多个版本的水晶报表?

visual-studio-2013 crystal-reports visual-studio-2022
1个回答
1
投票

我遇到了同样的问题,所以我从以下文件夹中准备了一个包含 SP25(与 3500 版本号兼容的最后版本)文件的包:

  • 管理
  • win32_x86
  • win64_x64

在安装最新版本之前,请卸载任何旧版本。 然后使用 gacutil.exe 将以下库从 win32_x86/dotnet 注册到 GAC 中:

CRVsPackageLib.dll
CrystalDecisions.CrystalReports.Design.dll
CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.CrystalReports.TemplateEngine.dll
CrystalDecisions.Data.AdoDotNetInterop.dll
CrystalDecisions.Enterprise.Viewing.ReportSource.dll
CrystalDecisions.ReportAppServer.ClientDoc.dll
CrystalDecisions.ReportAppServer.CommLayer.dll
CrystalDecisions.ReportAppServer.CommonControls.dll
CrystalDecisions.ReportAppServer.CommonObjectModel.dll
CrystalDecisions.ReportAppServer.Controllers.dll
CrystalDecisions.ReportAppServer.CubeDefModel.dll
CrystalDecisions.ReportAppServer.DataDefModel.dll
CrystalDecisions.ReportAppServer.DataSetConversion.dll
CrystalDecisions.ReportAppServer.ObjectFactory.dll
CrystalDecisions.ReportAppServer.Prompting.dll
CrystalDecisions.ReportAppServer.ReportDefModel.dll
CrystalDecisions.ReportAppServer.XmlSerialize.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.VSDesigner.dll
CrystalDecisions.Web.dll
CrystalDecisions.Windows.Forms.dll
SAPBusinessObjects.WPF.Viewer.dll
SAPBusinessObjects.WPF.ViewerShared.dll

我几年前准备了这个包裹,所以我不记得我拿这三个文件夹的原因。但它有效。 最近 log4net.dll,版本 = 1.2.10.0 已从 GAC 中删除,因此我必须手动重新添加才能再次正常工作

© www.soinside.com 2019 - 2024. All rights reserved.