Hi,
when loading several plugins using the mixed-mode example, i noticed, that the appearance and size/resolution of the host changed after loading any of the WPF-Plugins.
This behavior reminds a thing you need to bear in mind while developing apps that can load plugins:
By default the host WinForms process runs as a DPI-unaware one. WPF assemblies are DPI-aware by default. When a WPF plugin is loaded the host app suddenly becomes DPI-aware too and rescales itself.
I’ve uploaded a fixed sample project where DPI awareness flag is set on the host app startup preventing this behavior: ManagedCSharpHost.zip (30.8 KB)
I’ll log an issue to update the shipped sample as well.