Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jlaanstra opened this issue Mar 17, 2025 · 0 comments
Labels
Area-NativeAOT Native AOT compilation untriaged Request triage from a team member

Comments

@jlaanstra
Copy link
Contributor

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?

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NativeAOT Native AOT compilation untriaged Request triage from a team member labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NativeAOT Native AOT compilation untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant