Skip to content

AOT publish doesn't work if PackAsTool is set (a regression) #50435

@jjonescz

Description

@jjonescz
  1. dotnet new console
  2. Set properties PublishAot=true and PackAsTool=true
  3. Run dotnet publish with .NET 9.0.304 -> the app is published with NativeAOT as expected
  4. Run dotnet publish with .NET 10.0.100-preview.7.25380.108 -> the app is published WITHOUT NativeAOT, no error is reported

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions