Hi,
recent changes in VS2019 introduced DpiAwareness for VS Extensions. However, legacy/WinForms controls won't work out of the box: Currently, those controls are not rendered (they remain blank/transparent). Some info can be found here: Resharper-Blog_DpiAwareness
There is a proposed solution from Microsoft which sounds fine but doesn't work for me, because I get the error: "The Type DpiAwareness exists in both Microsoft.VisualStudio.DpiAwareness [...] and Microsoft.VisualStudio.Utilities [...]". Both of these references are, however, "part of the BulidSystem" and cannot be removed.
So how can I resolve this conflict? My project basicall references Microsoft.VisualStudio.SDK and Microsoft.VSSDK.BuildTools.
Or is there any other way to disable/change/whatever DpiAwareness so that my WinForm ToolWindows will show up again?
I am also aware of the Option "Optimize rendering for screens with different pixel densities...", but I don't want the customers to change settings to make my windows show...
Thanks and regards,