Skip to content

Commit

Permalink
Create KnownRuntimePack entries for NativeAOT (#16261)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger authored Apr 28, 2023
1 parent 87796ec commit 67bfe8f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/redist/targets/GenerateBundledVersions.targets
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,18 @@
<!-- 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 -->
<ILCompilerSupportedRids Include="@(Net60Crossgen2SupportedRids)" />

<NativeAOTRuntimePackRids Include="
ios-arm64;
iossimulator-arm64;
iossimulator-x64;
tvos-arm64;
tvossimulator-arm64;
tvossimulator-x64;
maccatalyst-arm64;
maccatalyst-x64;
"
/>

<AspNetCore31RuntimePackRids Include="@(AspNetCore30RuntimePackRids)" />
<AspNetCore50RuntimePackRids Include="@(AspNetCore31RuntimePackRids);linux-musl-arm;win-arm64" />
<AspNetCore60RuntimePackRids Include="@(AspNetCore50RuntimePackRids);osx-arm64;linux-s390x" />
Expand Down Expand Up @@ -403,6 +415,15 @@ Copyright (c) .NET Foundation. All rights reserved.
ILCompilerRuntimeIdentifiers="@(ILCompilerSupportedRids, '%3B')"
/>
<KnownRuntimePack Include="Microsoft.NETCore.App"
TargetFramework="net8.0"
RuntimeFrameworkName="Microsoft.NETCore.App"
LatestRuntimeFrameworkVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)"
RuntimePackNamePatterns="Microsoft.NETCore.App.Runtime.NativeAOT.**RID**"
RuntimePackRuntimeIdentifiers="@(NativeAOTRuntimePackRids, '%3B')"
RuntimePackLabels="NativeAOT"
/>
<KnownILLinkPack Include="Microsoft.NET.ILLink.Tasks"
TargetFramework="net8.0"
ILLinkPackVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)" />
Expand Down

0 comments on commit 67bfe8f

Please sign in to comment.