Skip to content

[NativeAOT] Exe project referencing exe project results in the referenced exe being dropped. #47663

Open
@jlaanstra

Description

@jlaanstra

Since #14488 exe projects are able to reference other exe projects and the resulting published output works. I currently use this in a solution with trimming.

When I then enable NativeAOT for both exe projects, I was expecting two nativeaot exes in the publish output, but instead there is only one and the other gets dropped.

Similarly if I want to build both a nativeaot exe and a nativeaot dll is there a way to do this with one publish?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-NativeAOTNative AOT compilationuntriagedRequest triage from a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions