Skip to content

Commit 0b58937

Browse files
authored
Fix alpine host build (#48914)
1 parent 803d347 commit 0b58937

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Layout/redist/targets/Crossgen.targets

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
'$(TargetArchitecture)' != 'ppc64le' and
88
'$(DotNetBuildUseMonoRuntime)' != 'true'">true</IsCrossgenSupported>
99

10-
<Crossgen2Rid>$(HostOSName)-$(BuildArchitecture)</Crossgen2Rid>
11-
12-
<RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(Crossgen2Rid)</RuntimeNETCrossgenPackageName>
10+
<RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(NETCoreSdkRuntimeIdentifier)</RuntimeNETCrossgenPackageName>
1311
</PropertyGroup>
1412

1513
<!-- Download the runtime package with the crossgen executable in it -->

0 commit comments

Comments
 (0)