diff --git a/src/SourceBuild/content/Directory.Build.props b/src/SourceBuild/content/Directory.Build.props index 27fcb621c..c17a2e52f 100644 --- a/src/SourceBuild/content/Directory.Build.props +++ b/src/SourceBuild/content/Directory.Build.props @@ -21,6 +21,8 @@ $([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant) $(BuildArchitecture) + + arm armv6 armel @@ -28,9 +30,10 @@ loongarch64 s390x ppc64le - x64 + $(OverrideTargetRid.Substring($(OverrideTargetRid.LastIndexOf('-'))).TrimStart('-')) x64 + $(TargetArchitecture) AnyCPU