未验证 提交 1cb2f42e 编写于 作者: L Larry Ewing 提交者: GitHub

Clean up runtime pack versioning logic (#72073)

上级 305952cf
...@@ -90,38 +90,10 @@ ...@@ -90,38 +90,10 @@
<_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion)</_MonoWorkloadRuntimePackPackageVersion> <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion)</_MonoWorkloadRuntimePackPackageVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition="'$(_MonoWorkloadTargetsMobile)' == 'true' and '$(TargetFramework)' == '${NetCoreAppCurrent}'"> <ItemGroup Condition="'$(_MonoWorkloadTargetsMobile)' == 'true'">
<MonoRuntimePackRids Include=" <KnownRuntimePack Update="@(KnownRuntimePack)">
linux-x64; <LatestRuntimeFrameworkVersion Condition="'%(KnownRuntimePack.TargetFramework)' == '${NetCoreAppCurrent}' and '%(KnownRuntimePack.RuntimePackLabels)' == 'Mono'">**FromWorkload**</LatestRuntimeFrameworkVersion>
win-x64; </KnownRuntimePack>
osx-x64;
osx-arm64;
maccatalyst-x64;
maccatalyst-arm64;
browser-wasm;
ios-arm64;
ios-arm;
iossimulator-arm64;
iossimulator-x64;
iossimulator-x86;
tvos-arm64;
tvossimulator-arm64;
tvossimulator-x64;
android-arm64;
android-arm;
android-x64;
android-x86;
" />
<KnownRuntimePack Remove="Microsoft.NETCore.App" />
<KnownRuntimePack Include="Microsoft.NETCore.App"
TargetFramework="${NetCoreAppCurrent}"
RuntimeFrameworkName="Microsoft.NETCore.App"
LatestRuntimeFrameworkVersion="**FromWorkload**"
RuntimePackNamePatterns="Microsoft.NETCore.App.Runtime.Mono.**RID**"
RuntimePackRuntimeIdentifiers="@(MonoRuntimePackRids, '%3B')"
RuntimePackLabels="Mono"
/>
</ItemGroup> </ItemGroup>
<!-- we can't condition sdk imports on the item @(NativeFileReference). Instead, explicitly check before the build <!-- we can't condition sdk imports on the item @(NativeFileReference). Instead, explicitly check before the build
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册