diff --git a/src/SourceBuild/content/Directory.Build.props b/src/SourceBuild/content/Directory.Build.props index 5cc142c57..bbd94253d 100644 --- a/src/SourceBuild/content/Directory.Build.props +++ b/src/SourceBuild/content/Directory.Build.props @@ -50,11 +50,12 @@ $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) $(BuildRid) - $(BuildRid) + $(BuildRid.Substring(0, $(BuildRid.LastIndexOf('-'))))-$(TargetArchitecture) - - true - false + + false + true $(__PortableTargetOS)-$(TargetArchitecture) freebsd-$(TargetArchitecture) diff --git a/src/SourceBuild/content/repo-projects/installer.proj b/src/SourceBuild/content/repo-projects/installer.proj index 5c232717e..541b3205d 100644 --- a/src/SourceBuild/content/repo-projects/installer.proj +++ b/src/SourceBuild/content/repo-projects/installer.proj @@ -21,6 +21,7 @@ $(BuildArgs) /p:OSName=$(OSNameOverride) $(BuildArgs) /p:PortableOSName=$(__PortableTargetOS) $(BuildArgs) /p:Rid=$(TargetRid) + $(BuildArgs) /p:Architecture=$(TargetArchitecture) $(BuildArgs) /p:DOTNET_INSTALL_DIR=$(DotNetRoot) $(BuildArgs) /p:AspNetCoreInstallerRid=$(TargetRid)