Skip to content

Commit 97e1133

Browse files
davidwrightondougbu
authored andcommitted
Use correct bits to compile take #3
1 parent 0fe88e7 commit 97e1133

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj

+2-3
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ This package is an internal implementation of the .NET Core SDK and is not meant
112112
<RuntimePackageRootVariableName>PkgMicrosoft_NETCore_App_Runtime_$(RuntimeIdentifier)</RuntimePackageRootVariableName>
113113

114114
<BuildOsName>$(TargetOsName)</BuildOsName>
115-
<BuildOsName Condition="'$(TargetOsName)' == 'linux-musl' and '$(BuildArchitecture)'!='x64'">linux</BuildOsName>
115+
<!-- linux-musl-arm and linux-musl-arm64 are built on an Ubuntu container with cross compilation tools. linux-musl-x64 is built in an alpine container -->
116+
<BuildOsName Condition="'$(TargetOsName)' == 'linux-musl' and '$(TargetArchitecture)'!='x64'">linux</BuildOsName>
116117
<Crossgen2PackageRootVariableName>PkgMicrosoft_NETCore_App_Crossgen2_$(BuildOsName)-$(BuildArchitecture)</Crossgen2PackageRootVariableName>
117118

118119
<AssetTargetFallback>$(AssetTargetFallback);native,Version=0.0</AssetTargetFallback>
119120

120121
<NativePlatform>$(TargetArchitecture)</NativePlatform>
121122
<NativePlatform Condition=" '$(NativePlatform)' == 'x86' ">Win32</NativePlatform>
122-
123123
</PropertyGroup>
124124

125125
<ItemGroup>
@@ -474,7 +474,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
474474
Command="&quot;$(CrossgenToolPath)&quot; $(Crossgen2Args) -o:&quot;$(TargetDir)%(FileName)%(Extension)&quot; &quot;%(IntermediateCrossgenAssembly.Identity)&quot;"
475475
IgnoreStandardErrorWarningFormat="true"
476476
StandardOutputImportance="High" />
477-
478477
</Target>
479478

480479
<!--

0 commit comments

Comments
 (0)