File tree 4 files changed +12
-7
lines changed
src/Framework/App.Runtime/src
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 36
36
<PublishReadyToRunPgoFiles Include =" %(MIBCPackage.PackagePath)/**/*.mibc" />
37
37
</ItemGroup >
38
38
</Target >
39
+
40
+ <!-- We need to reference the live RID graph to get a graph with any additionally supported RIDs for this build. -->
41
+ <ItemGroup >
42
+ <PackageDownload Include =" Microsoft.NETCore.Platforms" Version =" [$(MicrosoftNETCorePlatformsVersion)]" />
43
+ </ItemGroup >
44
+
45
+ <PropertyGroup Condition =" Exists('$(NuGetPackageRoot)microsoft.netcore.platforms/$(MicrosoftNETCorePlatformsVersion)')" >
46
+ <RuntimeIdentifierGraphPath >$(NuGetPackageRoot)microsoft.netcore.platforms/$(MicrosoftNETCorePlatformsVersion)/PortableRuntimeIdentifierGraph.json</RuntimeIdentifierGraphPath >
47
+ </PropertyGroup >
39
48
</Project >
Original file line number Diff line number Diff line change 80
80
<DefaultRuntimeFrameworkVersion Condition=" '$(IsServicingBuild)' != 'true' AND
81
81
'%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' AND
82
82
'$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion>
83
- <RuntimePackRuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly )' == 'true' "> $(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
83
+ <RuntimePackRuntimeIdentifiers Condition="'$(DotNetBuild )' == 'true'">%(RuntimePackRuntimeIdentifiers); $(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
84
84
</KnownFrameworkReference>
85
85
86
86
<KnownAppHostPack Update="Microsoft.NETCore.App">
108
108
<KnownCrossgen2Pack Update="Microsoft.NETCore.App.Crossgen2">
109
109
<Crossgen2PackVersion
110
110
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</Crossgen2PackVersion>
111
- <Crossgen2RuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly )' == 'true' "> $(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
111
+ <Crossgen2RuntimeIdentifiers Condition="'$(DotNetBuild )' == 'true'">%(Crossgen2RuntimeIdentifiers);$(NETCoreSdkRuntimeIdentifier); $(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
112
112
</KnownCrossgen2Pack>
113
113
114
114
<KnownILLinkPack Update="Microsoft.NET.ILLink.Tasks" Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">
Original file line number Diff line number Diff line change 15
15
<RollForward>LatestPatch</RollForward>
16
16
<!-- Precompile the shared framework with ReadyToRun. ReadyToRun is not currently supported on s390x or ppc64le or armv6 or loongarch64. -->
17
17
<PublishReadyToRun Condition=" '$(TargetArchitecture)' == 's390x' OR '$(TargetArchitecture)' == 'armv6' OR '$(TargetArchitecture)' == 'ppc64le' OR '$(TargetArchitecture)' == 'loongarch64' ">false</PublishReadyToRun>
18
- <!-- VMR doesn't produce valid crossgen for the host/build machine https://github.com/dotnet/source-build/issues/3793 -->
19
- <PublishReadyToRun Condition=" '$(DotNetBuild)' == 'true' AND '$(Crossbuild)' == 'true' ">false</PublishReadyToRun>
20
18
<PublishReadyToRun Condition=" '$(PublishReadyToRun)' == '' AND '$(Configuration)' != 'Debug' ">true</PublishReadyToRun>
21
19
<!-- Don't use ReadyToRun when explicitly opted out -->
22
20
<PublishReadyToRun Condition="'$(CrossgenOutput)' == 'false'">false</PublishReadyToRun>
Original file line number Diff line number Diff line change 14
14
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
15
15
<RollForward>LatestPatch</RollForward>
16
16
<!-- Precompile the shared framework with ReadyToRun. ReadyToRun is not currently supported on s390x or ppc64le or armv6. -->
17
- <PublishReadyToRun Condition=" '$(TargetArchitecture)' == 's390x' OR '$(TargetArchitecture)' == 'armv6' OR '$(TargetArchitecture)' == 'ppc64le' ">false</PublishReadyToRun>
18
- <!-- VMR doesn't produce valid crossgen for the host/build machine https://github.com/dotnet/source-build/issues/3793 -->
19
- <PublishReadyToRun Condition=" '$(DotNetBuild)' == 'true' AND '$(Crossbuild)' == 'true' ">false</PublishReadyToRun>
17
+ <PublishReadyToRun Condition=" '$(TargetArchitecture)' == 's390x' OR '$(TargetArchitecture)' == 'armv6' OR '$(TargetArchitecture)' == 'ppc64le'">false</PublishReadyToRun>
20
18
<PublishReadyToRun Condition=" '$(PublishReadyToRun)' == '' AND '$(Configuration)' != 'Debug' ">true</PublishReadyToRun>
21
19
<!-- Don't use ReadyToRun when explicitly opted out -->
22
20
<PublishReadyToRun Condition="'$(CrossgenOutput)' == 'false'">false</PublishReadyToRun>
You can’t perform that action at this time.
0 commit comments