Create KnownRuntimePack entries for NativeAOT (#16261)

This commit is contained in:
Alexander Köplinger 2023-04-28 22:10:33 +02:00 committed by GitHub
parent 87796ec7da
commit 67bfe8fce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" />
@ -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)" />