Skip to content

Commit 10be274

Browse files
committed
crossgen2: set RuntimeIdentifier explicitly.
1 parent 73d3229 commit 10be274

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coreclr/tools/aot/crossgen2/crossgen2.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<!-- Trimming is not currently working, but set the appropriate feature flags for NativeAOT -->
1111
<PublishTrimmed Condition="'$(NativeAotSupported)' == 'true'">true</PublishTrimmed>
1212
<RuntimeIdentifiers Condition="'$(RunningPublish)' != 'true' and '$(DotNetBuildFromSource)' != 'true'">linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm</RuntimeIdentifiers>
13-
<RuntimeIdentifiers Condition="'$(DotNetBuildFromSource)' == 'true'">$(PackageRID)</RuntimeIdentifiers>
13+
<RuntimeIdentifier Condition="'$(DotNetBuildFromSource)' == 'true'">$(PackageRID)</RuntimeIdentifier>
14+
<AppendRuntimeIdentifierToOutputPath Condition="'$(RunningPublish)' != 'true'">false</AppendRuntimeIdentifierToOutputPath>
1415
<SelfContained>false</SelfContained>
1516
<SelfContained Condition="'$(RunningPublish)' == 'true'">true</SelfContained>
1617
</PropertyGroup>

0 commit comments

Comments
 (0)