Describe the bug
Using the MSIX single-project nuget while targeting .NET 11 causes it to bundle both builds (NAOT and Self Contained) in the resulting MSIX.
Steps to reproduce the bug
- Create a blank project
- Target .NET 11
- Install the latest MSIX nuget (1.7.260610101)
- Use Create App Package to generate a MSIX
Expected behavior
Only include the respective files for the selected build so either Native AOT or Self Contained.
Screenshots
Left is .NET 10 and right is .NET 11

NuGet package version
2.4.0
Packaging type
Packaged (MSIX)
Windows version
No response
IDE
No response
Additional context
No response
Describe the bug
Using the MSIX single-project nuget while targeting .NET 11 causes it to bundle both builds (NAOT and Self Contained) in the resulting MSIX.
Steps to reproduce the bug
Expected behavior
Only include the respective files for the selected build so either Native AOT or Self Contained.
Screenshots
Left is .NET 10 and right is .NET 11

NuGet package version
2.4.0
Packaging type
Packaged (MSIX)
Windows version
No response
IDE
No response
Additional context
No response