I am developing a Windows desktop application targeting .NET Framework 4.8 using Visual Studio 2022.
When attempting to display a Crystal Report, I encounter the following runtime error:
Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.4000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
This appears to be an assembly version mismatch, but I am unsure how to correctly resolve it.
Environment
Visual Studio 2022
.NET Framework 4.8
Windows Forms application
Crystal Reports for Visual Studio
Issue Details
My project references multiple Crystal Reports packages with different versions (for example, 13.0.4003 and 13.0.200). I suspect this version inconsistency may be causing the problem, but I am not certain which assemblies should be aligned or whether I need to install a specific Crystal Reports runtime.
Below is my packages.config:
Questions
How can I fix this assembly mismatch error?
Which Crystal Reports runtime version should be installed for a .NET Framework 4.8 application?
Should all Crystal Reports assemblies use the exact same version?
Is it recommended to use NuGet packages for Crystal Reports, or should I install the SAP Crystal Reports developer version instead?
ahmed elbarbaryPosted Feb 13, 2026, 4:22 PM
what version i will install ?
from which place i will install dll ?
what version of dll i will install ?
Jignesh KumarPosted Feb 12, 2026, 5:34 AM
Hello,
Step 1 – Remove ALL Crystal References
In your project:
Delete all references starting with:
Remove Crystal packages from NuGet (if added)
Clean the solution
Close Visual Studio
Step 2 – Install ONE Correct Version Only
Make sure you install:
Developer version (for Visual Studio)
Runtime (x86 or x64 depending on your app)
Step 3 – Re-add References Properly
After reinstalling:
Open Visual Studio
Right-click project ? Add Reference
Add Crystal assemblies from:
Step 4 – Check Platform Target
Project ? Properties ? Build
Set:
Platform Target = x86 (recommended for Crystal)
Step 5 – Disable "Copy Local"
For all Crystal references:
Crystal runtime should load from installed runtime, not from bin folder.
Step 6 – Clean & build again
Above steps should solve your probelm