Description
For a very brief window of time, .NET "Core" apps targeting a specific -windows10.0.xxxxx
tfm had full COM interop (both cw and rcw) support without needing the developer to re-define all com interfaces to interface with them. But now with AOT support disabling runtime com marshalling and the switch to [GeneratedComInterface]
and [GeneratedComClass]
, we (or at least, some of us) are back at the point where we need to recreate the definitions of any COM classes we wish to consume or expose because the Microsoft.Windows.Sdk.Net
classes all rely on the old runtime com interop model.
Is there a plan for either shipping [GeneratedComInterface]
-annotated interface definitions or else providing a new source code generator that would create an XxxNative
version of all WinRT/COM interfaces a [GeneratedComClass]
derives from so that we aren't coding like it's 2002? (Of course the problem with the latter is that a lot of COM interface wrappers rely on marshalling features that the new source generated com interop doesn't support without custom marshallers.)
Thank you kindly!
(If this is the wrong repo for this question, then mea culpa and I would appreciate being pointed in the right direction.)