Posted 23 November 2023, 12:10 am EST
I have an Active Reports 17 project that I’m now moving to .NET 6, from .NET Framework 4.8; after the upgrade, this error arose and I’m not able to compile it anymore:
The file or assembly 'System.ComponentModel.Primitives, Version=4.2.2.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies could not be loaded. Reference assemblies do
not need to be loaded for execution. You can only load them in the context of the reflection-only loader.
(Exception from HRESULT: 0x80131058)'
Note that this is a translation of the message I’m getting, as the original is localized in my language.
Some of the referenced packages are also marked as deprecated and some others appear quite old. Should I follow a different approach instead of migration?
Also worth to mention that the amount of references needed to have simply AR, viewer and PDF export is pretty unmanageable, I count over 70 of them. Maybe I’m missing some piece here too.
Any help would be greatly appreciated.
Matteo