VS-2005 と VS-2010 がインストールされています。Crystal Reports は VS-2010 用に個別にダウンロードできるので、ダウンロードしてインストールしました。私の古いプロジェクトは、Crystal Reports バージョン 10.0 を使用する VS-2010 にありました。新しいプロジェクトは、Crystal Reports バージョンが 13.0 の VS-2010 にあります。
単一のレポートで VS-2010 で小さなアプリケーションを作成しました。このプロジェクトを実行しようとすると、次のエラーが表示されます。
The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.2.3600.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll'
The indirectly-referenced assembly 'BusinessObjects.Licensing.KeycodeDecoder, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll.
古い Crystal Reports (つまり、バージョン 10) をアンインストールできません。これらを並べて機能させる方法と、GACおよびweb.configファイルで必要な変更。