on 01-17-2020 10:46 PM
The type 'ReportDocument' exists in both 'CrystalDecisions.CrystalReports.Engine, Version=13.0.4000.0' and 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0' in CrystalFormViewer.cs.
In my winforms.proj file (.net v4.7.2) I see a reference to Version=13.0.4000.0 but I can't find a reference to 13.0.2000.0 anywhere in the solution. I also have a v4.7.2 class library referencing 13.0.4000.0.
I deleted the bin and obj directories in both projects and still get this error.
I cannot build and run the application. This is urgent.
Robert found the cause when I suggested checking all of the app.config files.
Once of the parts has a reference and loading the CR nuget package.
He removed that and it now builds completely.
Also noted was the actual error:
The error is: A reference to CrysalDecisions.CrystalReports.Engine could not be added. This component is already automatically referenced by the build system
So I googled it and found this link, not the engine but explains what is happening:
https://stackoverflow.com/questions/25394979/add-a-reference-to-system-core-when-its-already-referen...
Issue closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.