<PackageReference Include="System.Drawing.Common" Version="10.0.0" />

IManagedWrapper<TComInterface1, TComInterface2, TComInterface3>

Apply to a class to apply a COM callable wrapper of the given interfaces. The class must also derive from the given COM wrapper structs' nested Interfaces.
/* One or more errors occurred. (Object reference not set to an instance of an object.) */