Skip to content

Commit 67bfe8f

Browse files
authored
Create KnownRuntimePack entries for NativeAOT (#16261)
1 parent 87796ec commit 67bfe8f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/redist/targets/GenerateBundledVersions.targets

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,18 @@
263263
<!-- Match the Crossgen2 RIDs although some are currently not supported in NativeAOT. Its better for the SDK not to block on the RIDs and let NativeAOT manage the experience -->
264264
<ILCompilerSupportedRids Include="@(Net60Crossgen2SupportedRids)" />
265265

266+
<NativeAOTRuntimePackRids Include="
267+
ios-arm64;
268+
iossimulator-arm64;
269+
iossimulator-x64;
270+
tvos-arm64;
271+
tvossimulator-arm64;
272+
tvossimulator-x64;
273+
maccatalyst-arm64;
274+
maccatalyst-x64;
275+
"
276+
/>
277+
266278
<AspNetCore31RuntimePackRids Include="@(AspNetCore30RuntimePackRids)" />
267279
<AspNetCore50RuntimePackRids Include="@(AspNetCore31RuntimePackRids);linux-musl-arm;win-arm64" />
268280
<AspNetCore60RuntimePackRids Include="@(AspNetCore50RuntimePackRids);osx-arm64;linux-s390x" />
@@ -403,6 +415,15 @@ Copyright (c) .NET Foundation. All rights reserved.
403415
ILCompilerRuntimeIdentifiers="@(ILCompilerSupportedRids, '%3B')"
404416
/>
405417
418+
<KnownRuntimePack Include="Microsoft.NETCore.App"
419+
TargetFramework="net8.0"
420+
RuntimeFrameworkName="Microsoft.NETCore.App"
421+
LatestRuntimeFrameworkVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)"
422+
RuntimePackNamePatterns="Microsoft.NETCore.App.Runtime.NativeAOT.**RID**"
423+
RuntimePackRuntimeIdentifiers="@(NativeAOTRuntimePackRids, '%3B')"
424+
RuntimePackLabels="NativeAOT"
425+
/>
426+
406427
<KnownILLinkPack Include="Microsoft.NET.ILLink.Tasks"
407428
TargetFramework="net8.0"
408429
ILLinkPackVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)" />

0 commit comments

Comments
 (0)