- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
The migration from Framework to Net 8.0 went smoothly, but it works well.
The only major error for me occurred when producing a report with Microsoft ReportViewer.
Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing.
Microsoft.Reporting.DefinitionInvalidException: The definition of the report '' is invalid.
Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing.
System.TypeLoadException: Method 'GetHashCode' in type 'Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions' from assembly 'Microsoft.CodeAnalysis.VisualBasic, Version=4.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.
Problem:
the Microsoft.CodeAnalysis dll in the Autocad 2025 folder is version 4.0.0
Solution:
Replace Microsoft.CodeAnalysis version 4.0.0.0 with version 4.8.0.0, and add Microsoft.CodeAnalysis.VisualBasic, Version=4.8.0.0.
It seems that when Autocad 2025 is run, this has no influence, but I don't like this replacement very much.
I've tried for a long time to load a compatible dll or something without success. I have no experience in this kind of code.
I have no experience with this type of code.
I am attaching a Test report.
Thank you in advance for your help...
*** Translated with www.DeepL.com/Translator (free version) ***
Solved! Go to Solution.