diff --git a/src/SourceBuild/content/repo-projects/aspnetcore.proj b/src/SourceBuild/content/repo-projects/aspnetcore.proj index cfe5a06c0..9096e44b8 100644 --- a/src/SourceBuild/content/repo-projects/aspnetcore.proj +++ b/src/SourceBuild/content/repo-projects/aspnetcore.proj @@ -1,13 +1,6 @@ - $(TargetRid) - osx-$(TargetArchitecture) - freebsd-$(TargetArchitecture) - win-$(TargetArchitecture) - <_portableRidOverridden Condition="'$(TargetRid)' != '$(OverrideTargetRid)'">true - <_portableRidOverridden Condition="'$(TargetRid)' == '$(OverrideTargetRid)'">false - $(ProjectDirectory)eng\build$(ShellExtension) @@ -20,11 +13,22 @@ $(BuildArgs) $(FlagParameterPrefix)arch $(OverrideTargetArch) $(BuildArgs) $(FlagParameterPrefix)no-build-repo-tasks $(BuildArgs) $(FlagParameterPrefix)no-build-nodejs - $(BuildArgs) /p:PortableBuild=$(_portableRidOverridden) /p:TargetRuntimeIdentifier=$(OverrideTargetRid) true + + $(TargetRid) + osx-$(TargetArchitecture) + freebsd-$(TargetArchitecture) + win-$(TargetArchitecture) + <_portableRidOverridden Condition="'$(TargetRid)' != '$(OverrideTargetRid)'">true + <_portableRidOverridden Condition="'$(TargetRid)' == '$(OverrideTargetRid)'">false + + $(BuildArgs) /p:PortableBuild=$(_portableRidOverridden) + $(BuildArgs) /p:TargetRuntimeIdentifier=$(OverrideTargetRid) + + diff --git a/src/SourceBuild/content/repo-projects/installer.proj b/src/SourceBuild/content/repo-projects/installer.proj index d3fbb9b0c..c7ae3c61a 100644 --- a/src/SourceBuild/content/repo-projects/installer.proj +++ b/src/SourceBuild/content/repo-projects/installer.proj @@ -30,8 +30,8 @@ $(BuildArgs) /p:DOTNET_INSTALL_DIR=$(DotNetRoot) $(BuildArgs) /p:AspNetCoreInstallerRid=$(OverrideTargetRid) - - $(BuildArgs) /p:PortableBuild=true + + $(BuildArgs) /p:PortableBuild=true $(BuildArgs) /p:CoreSetupRid=$(OverrideTargetRid) diff --git a/src/SourceBuild/content/repo-projects/runtime.proj b/src/SourceBuild/content/repo-projects/runtime.proj index bafa7f631..0f17e3e6a 100644 --- a/src/SourceBuild/content/repo-projects/runtime.proj +++ b/src/SourceBuild/content/repo-projects/runtime.proj @@ -14,10 +14,6 @@ <_platformIndex>$(NETCoreSdkPortableRuntimeIdentifier.LastIndexOf('-')) $(NETCoreSdkPortableRuntimeIdentifier.Substring(0, $(_platformIndex)))-$(TargetArchitecture) - false - true - false - $(ProjectDirectory)build$(ShellExtension) @@ -26,6 +22,13 @@ $(BuildArgs) /p:TargetRid=$(OverrideTargetRid) $(BuildArgs) /p:RuntimeOS=$(RuntimeOS) $(BuildArgs) /p:BaseOS=$(BaseOS) + + + + false + true + false + $(BuildArgs) /p:PortableBuild=$(PortableBuild) $(BuildArgs) /p:SourceBuildNonPortable=$(BuildNonPortable) $(BuildArgs) /p:UsingToolMicrosoftNetCompilers=false