Closed akertesz-permaquim closed 8 months ago
Publishing to single file and/or AoT compilation won't work. #49 for details.
As a workaround, you can copy Microsoft.CodeAnalysis.VisualBasic.dll
and all other missing DLLs mentioned in exception to your output directory, but then it won't really be a single file deployment.
It has been more than a year ago when we implemented this solution in order to show Reports in a Net 6 Winforms application, however, we've been having some issues once we want to publish the actual application to a single .exe. Whenever I try to generate a report, the following exception shows:
The code that is throwing the exception:
You can view the report viewer itself, however it does fail once I try to use it in any way shape or form. This doesn't happen when I publish the project with all of its Dll files loose. Is there anything that can be done to solve this? Thanks a ton.