Skip to content

AoT publish has error #163

@rprimora-pricer

Description

@rprimora-pricer

I get an error when publishing for AoT and Trimmed.

System.NotSupportedException: COM Interop requires ComWrapper instance registered for marshalling.
at System.Runtime.InteropServices.ComWrappers.ComObjectForInterface(IntPtr) + 0x52
at Internal.Runtime.CompilerHelpers.InteropHelpers.ConvertNativeComInterfaceToManaged(IntPtr) + 0x9
at FlashCap.Internal.NativeMethods_DirectShow.CoCreateInstance(Guid&, Object, NativeMethods_DirectShow.CLSCTX, Guid&, Object&) + 0x5c
at FlashCap.Internal.NativeMethods_DirectShow.d__48.MoveNext() + 0x42

Sources indicate this has to be taken care of in the library itself.

Has anyone had the same issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions