Skip to content

Commit 2c4c237

Browse files
github-actions[bot]tmdsakoeplinger
authored
Microsoft.NETCore.Platforms: fix graph not being updated on pack. (#82851)
Co-authored-by: Tom Deseyn <[email protected]> Co-authored-by: Alexander Köplinger <[email protected]>
1 parent b76fdb9 commit 2c4c237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<AvoidRestoreCycleOnSelfReference>true</AvoidRestoreCycleOnSelfReference>
1818
<!-- TODO: Remove with AvoidRestoreCycleOnSelfReference hack. -->
1919
<PackageValidationBaselineName>$(MSBuildProjectName)</PackageValidationBaselineName>
20+
<BeforePack Condition="'$(AdditionalRuntimeIdentifiers)' == ''">UpdateRuntimeJson;$(BeforePack)</BeforePack>
2021

2122
<_generateRuntimeGraphTargetFramework Condition="'$(MSBuildRuntimeType)' == 'core'">$(NetCoreAppToolCurrent)</_generateRuntimeGraphTargetFramework>
2223
<_generateRuntimeGraphTargetFramework Condition="'$(MSBuildRuntimeType)' != 'core'">net472</_generateRuntimeGraphTargetFramework>

0 commit comments

Comments
 (0)