FastReports / FastReport

Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports

Home Page:https://www.fast-report.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AssemblyDescriptor InitInstance exception

I-Vladimir opened this issue · comments

Hi All,
My application dynamically loads multiple assemblies located in subfolders and each assembly can have FastReport references. I understand the best option is to drop FastReport dlls in exe folder or GAC, but since each module created individually we can get a potential issue with different assembly versions etc, I decided to deploy FastReport assemblies with each module and FastReport assemblies are in subfolders.
An issue I got when a new report assembly created in AssemblyDescriptor InitInstance when a call from FastReport.dll cannot find it. I managed to get it resolved adding an extra ResolveEventHandler.