Skip to Content
0
Sep 18, 2023 at 04:42 PM

CR Runtime AMD64 Processor Architecture mismatch with VS 2022 MSIL Application

161 Views

I am developing in Visual Studio 2022 and recently upgraded my Crystal Reports for VS to SP34 64-bit. I am getting the following error message:

Severity Code Description Project File Line Suppression State
Warning There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.ReportAppServer.CommonControls, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. ICTHUS

And:

FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified

I have verified that the version in my GAC reference matches the version of the dll.

What options do I have?