-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Milestone
Description
Currently, NativeAOT hardcodes its main input to be $(IntermediateOutputPath)$(TargetName)$(TargetExt) through the ComputeIlcCompileInputs target:
| <ManagedBinary Condition="$(BuildingFrameworkLibrary) != 'true'" Include="$(IntermediateOutputPath)$(TargetName)$(TargetExt)" /> |
It would be nice to have this target use the @(IntermediateAssembly) item instead.
The current behavior can be problematic when you happen to have any custom target adjusting that item. This requires the target to also be aware of ILC targets, as seen here: AvaloniaUI/Avalonia#14966
As far as I can tell, build, standard publish and ILLink all seem to respect changing @(IntermediateAssembly), only ILC doesn't.
Is there any reason for the current behavior? Is it possible to use @(IntermediateAssembly) for consistency?
Thanks!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status