Skip to content

How can I use this kind of mechanism from an dotnet dll rather than a dotnet exe? #4

@Cyandr

Description

@Cyandr

I have tried this way to invoke my cpp winrt dll from other c# assembly with a test C# exe ,but i have to let my C# exe module to depend on this cpp winrt dll and add a manifist file and add a reference of VCRTForwarders or it will cause a C# System.TypeLoadException. So can I use this invoke machanism from a standalone C# assemly ? Or I didn't use it correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions