diff --git a/eng/NativeAotToolPackage.targets b/eng/NativeAotToolPackage.targets index b77e015041ba6c..4875ea21036231 100644 --- a/eng/NativeAotToolPackage.targets +++ b/eng/NativeAotToolPackage.targets @@ -29,9 +29,14 @@ <_NativeAotToolPackageFile Include="@(PublishItemsOutputGroupOutputs->'%(OutputPath)')"> runtimes/$(PackageTargetRuntime)/native/%(PublishItemsOutputGroupOutputs.TargetPath) + + runtimes/$(PackageTargetRuntime)/native/$([System.IO.Path]::GetDirectoryName('%(PublishItemsOutputGroupOutputs.TargetPath)')) true - + <_TargetPathsToSymbols Include="@(_NativeAotToolPackageFile)" Condition="'%(_NativeAotToolPackageFile.IsSymbolFile)' == 'true'" FinalOutputPath="%(_NativeAotToolPackageFile.Identity)" diff --git a/eng/pipelines/coreclr/ilasm.yml b/eng/pipelines/coreclr/ilasm.yml index 2f744d487a05ee..a9780531f8b072 100644 --- a/eng/pipelines/coreclr/ilasm.yml +++ b/eng/pipelines/coreclr/ilasm.yml @@ -15,6 +15,7 @@ pr: - src/coreclr/.nuget/Microsoft.NETCore.ILAsm/* - src/coreclr/.nuget/package-rids.props - src/tasks/installer.tasks/* + - eng/NativeAotToolPackage.targets - eng/Subsets.props schedules: