Skip to content

c#: projects with <OutputType>Exe</OutputType> don't generate cabi_realloc when compiled #778

@jsturtevant

Description

@jsturtevant

Also a further problem I found was that it becomes necessary to declare <IlcExportUnmanagedEntrypoints>true</IlcExportUnmanagedEntrypoints> if you have <OutputType>Exe</OutputType>, otherwise the compiler won't generate any export for cabi_realloc at all and therefore the component wouldn't satisfy the spec.

Originally posted by @SteveSandersonMS in #760 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gen-c#Related to the C# code generator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions