Not a final solution but some insights:
nonComVisibleBaseClass MDA | Microsoft Docs[
^]
Quote:
Uncheck the Non Com visible exception from the exception settings.
That is a VS option. So your clients do not have to change any settings on their side.
As far as I understood it, the exception (which is a diagnostic alert and not a "classic" exception so that it can't be catched) is only raised when running the appliction from within VS.
Have you tried running it standalone (outside VS)?