diff --git a/eng/DotNetBuild.props b/eng/DotNetBuild.props
index 67554644b5cf8f..ef11ad4af6ecec 100644
--- a/eng/DotNetBuild.props
+++ b/eng/DotNetBuild.props
@@ -77,6 +77,7 @@
$(InnerBuildArgs) /p:MonoAOTEnableLLVM=$(DotNetBuildMonoAOTEnableLLVM)
$(InnerBuildArgs) /p:MonoBundleLLVMOptimizer=$(DotNetBuildMonoBundleLLVMOptimizer)
$(InnerBuildArgs) /p:DotNetBuildMonoCrossAOT=$(DotNetBuildMonoCrossAOT)
+ $(InnerBuildArgs) /p:DotNetBuildAllRuntimePacks=$(DotNetBuildAllRuntimePacks)
$(InnerBuildArgs) $(FlagParameterPrefix)pgoinstrument
diff --git a/eng/Publishing.props b/eng/Publishing.props
index 9c2866118ede74..05a7d2e907063d 100644
--- a/eng/Publishing.props
+++ b/eng/Publishing.props
@@ -140,7 +140,7 @@
-
-
diff --git a/eng/Subsets.props b/eng/Subsets.props
index 9c095300d7d7c6..e6c1acda51876e 100644
--- a/eng/Subsets.props
+++ b/eng/Subsets.props
@@ -25,20 +25,41 @@
+
+
+ <_CoreCLRSupportedOS Condition="'$(TargetsMobile)' != 'true' and '$(TargetsLinuxBionic)' != 'true'">true
+ <_CoreCLRSupportedArch Condition="'$(TargetArchitecture)' != 'armv6' and '$(TargetArchitecture)' != 'ppc64le' and '$(TargetArchitecture)' != 's390x'">true
+ true
+
+
+ <_MonoSupportedOS>true
+ <_MonoSupportedArch Condition="!('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' == 'arm64') and !('$(TargetsLinuxMusl)' == 'true' and ('$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'arm64')) and !('$(TargetsLinuxBionic)' == 'true' and '$(TargetArchitecture)' == 'arm')">true
+ true
+
+
+ <_MonoAotCrossSupportedOS Condition="'$(TargetsMobile)' != 'true' and '$(TargetsLinuxBionic)' != 'true'">true
+ <_MonoAotCrossSupportedArch Condition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'arm64'">true
+ true
+
+
+ <_IsCommunityCrossArchitecture Condition="'$(CrossBuild)' == 'true' and ('$(TargetArchitecture)' == 'loongarch64' or '$(TargetArchitecture)' == 'riscv64')">true
+ <_NativeAotSupportedOS Condition="'$(TargetOS)' == 'windows' or '$(TargetOS)' == 'linux' or '$(TargetOS)' == 'osx' or '$(TargetOS)' == 'maccatalyst' or '$(TargetOS)' == 'iossimulator' or '$(TargetOS)' == 'ios' or '$(TargetOS)' == 'tvossimulator' or '$(TargetOS)' == 'tvos' or '$(TargetOS)' == 'freebsd'">true
+ <_NativeAotSupportedArch Condition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'loongarch64' or ('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' == 'x86')">true
+ true
+
+
CoreCLR
- Mono
- Mono
- Mono
- Mono
- Mono
+ Mono
$(DefaultPrimaryRuntimeFlavor)
clr+mono+libs+tools+host+packs
mono+libs+packs
- mono+libs+host+packs
+ clr.nativeaotruntime+clr.nativeaotlibs+mono+libs+packs
+ clr.nativeaotruntime+clr.nativeaotlibs+mono+libs+host+packs
+ clr.nativeaotruntime+clr.nativeaotlibs+libs+packs
clr+libs+tools+host+packs
clr.nativeaotlibs+clr.nativeaotruntime+libs+packs
@@ -50,16 +71,21 @@
true
+
+ android+browser+wasi
+ $(MonoCrossAOTTargetOS)+tvos+ios+maccatalyst
+
+
<_subset Condition="'$(Subset)' != ''">+$(Subset.ToLowerInvariant())+
<_subset Condition="'$(Subset)' == ''">+$(DefaultSubsets)+
-
+
Mono
CoreCLR
- Mono
+ Mono
$(PrimaryRuntimeFlavor)
@@ -82,6 +108,9 @@
$(DefaultMonoSubsets)mono.tools+
$(DefaultMonoSubsets)host.native+
+
+ mono.aotcross
+
libs.native+
@@ -95,6 +124,8 @@
$(DefaultHostSubsets)+host.pretest+host.tests
host.native
+
+ host.native+host.pkg
packs.product
$(DefaultPacksSubsets)+packs.installers
@@ -120,11 +151,6 @@
-
- <_IsCommunityCrossArchitecture Condition="'$(CrossBuild)' == 'true' and ('$(TargetArchitecture)' == 'loongarch64' or '$(TargetArchitecture)' == 'riscv64')">true
- <_NativeAotSupportedOS Condition="'$(TargetOS)' == 'windows' or '$(TargetOS)' == 'linux' or '$(TargetOS)' == 'osx' or '$(TargetOS)' == 'maccatalyst' or '$(TargetOS)' == 'iossimulator' or '$(TargetOS)' == 'ios' or '$(TargetOS)' == 'tvossimulator' or '$(TargetOS)' == 'tvos' or '$(TargetOS)' == 'freebsd'">true
- <_NativeAotSupportedArch Condition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'loongarch64' or ('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' == 'x86')">true
- true
true
@@ -517,7 +543,7 @@
-
+
@@ -532,33 +558,64 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_BuildCoreCLRRuntimePack Condition="'$(RuntimeFlavor)' == 'CoreCLR' and '$(CoreCLRSupported)' == 'true' and '$(BuildNativeAOTRuntimePack)' != 'true'">true
+ <_BuildCoreCLRRuntimePack Condition="'$(DotNetBuildAllRuntimePacks)' == 'true' and '$(CoreCLRSupported)' == 'true'">true
+ <_BuildMonoRuntimePack Condition="'$(RuntimeFlavor)' == 'Mono' and '$(MonoSupported)' == 'true' and '$(BuildNativeAOTRuntimePack)' != 'true'">true
+ <_BuildMonoRuntimePack Condition="'$(DotNetBuildAllRuntimePacks)' == 'true' and '$(MonoSupported)' == 'true'">true
+ <_BuildNativeAOTRuntimePack Condition="'$(BuildNativeAOTRuntimePack)' == 'true'">true
+ <_BuildNativeAOTRuntimePack Condition="'$(DotNetBuildAllRuntimePacks)' == 'true' and '$(NativeAOTSupported)' == 'true'">true
+ <_BuildHostPack Condition="'$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true' and '$(BuildNativeAOTRuntimePack)' != 'true'">true
+ <_BuildHostPack Condition="'$(DotNetBuildAllRuntimePacks)' == 'true' and '$(TargetsMobile)' != 'true' and !('$(TargetsLinuxBionic)' == 'true' and '$(TargetArchitecture)' == 'arm')">true
+ <_BuildBundle Condition="'$(BuildNativeAOTRuntimePack)' != 'true' and '$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true'">true
+ <_BuildBundle Condition="'$(DotNetBuildAllRuntimePacks)' == 'true' and '$(TargetsMobile)' != 'true' and !('$(TargetsLinuxBionic)' == 'true' and '$(TargetArchitecture)' == 'arm')">true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/eng/pipelines/common/platform-matrix-multijob.yml b/eng/pipelines/common/platform-matrix-multijob.yml
deleted file mode 100644
index 5aa172664bce51..00000000000000
--- a/eng/pipelines/common/platform-matrix-multijob.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Use one list of platforms to create build jobs for multiple templates. Avoids
-# platform list duplication.
-parameters:
- jobTemplates: []
- platforms: []
-
-jobs:
-
-- ${{ each job in parameters.jobTemplates }}:
- - template: /eng/pipelines/common/platform-matrix.yml
- parameters:
- platforms: ${{ parameters.platforms }}
- ${{ insert }}: ${{ job }}
diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml
index 92ec42cb046514..e1854260160b63 100644
--- a/eng/pipelines/runtime-official.yml
+++ b/eng/pipelines/runtime-official.yml
@@ -73,7 +73,7 @@ extends:
jobParameters:
templatePath: 'templates-official'
buildArgs: -s clr.runtime+clr.alljits+clr.nativeaotruntime -c $(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/logs/$(_BuildConfig)/CoreClrNativeBuild.binlog
- nameSuffix: CoreCLR
+ nameSuffix: AllRuntimes
isOfficialBuild: ${{ variables.isOfficialBuild }}
timeoutInMinutes: 120
postBuildSteps:
@@ -85,8 +85,9 @@ extends:
# Now that we've signed the diagnostic files, do the rest of the build.
- template: /eng/pipelines/common/templates/global-build-step.yml
parameters:
- buildArgs: -s clr.corelib+clr.nativecorelib+clr.nativeaotlibs+clr.tools+clr.packages+libs+host+packs -c $(_BuildConfig)
- displayName: Build managed CoreCLR components, all libraries, hosts, and packs
+ buildArgs: -s clr.corelib+clr.nativecorelib+clr.nativeaotlibs+clr.tools+clr.packages+mono+libs+host+packs -c $(_BuildConfig) /p:DotNetBuildAllRuntimePacks=true
+ displayName: Build managed CoreCLR components, Mono, all libraries, hosts, and packs
+ - template: /eng/pipelines/common/templates/global-build-step.yml
# Upload the results.
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
@@ -94,7 +95,7 @@ extends:
name: $(osGroup)$(osSubgroup)_$(archType)
#
- # Build CoreCLR runtime packs
+ # Build all runtime packs
# Mac x64/arm64
# Sign and entitle createdump and corerun after native build.
#
@@ -108,7 +109,7 @@ extends:
jobParameters:
templatePath: 'templates-official'
buildArgs: -s clr.runtime+clr.alljits+clr.nativeaotruntime+host.native -c $(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/logs/$(_BuildConfig)/CoreClrNativeBuild.binlog
- nameSuffix: CoreCLR
+ nameSuffix: AllRuntimes
isOfficialBuild: ${{ variables.isOfficialBuild }}
timeoutInMinutes: 120
postBuildSteps:
@@ -136,8 +137,8 @@ extends:
# Now that we've entitled and signed createdump, we can build the rest.
- template: /eng/pipelines/common/templates/global-build-step.yml
parameters:
- buildArgs: -s clr.corelib+clr.nativecorelib+clr.nativeaotlibs+clr.tools+clr.packages+libs+host.tools+host.pkg+packs -c $(_BuildConfig)
- displayName: Build managed CoreCLR and host components, all libraries, and packs
+ buildArgs: -s clr.corelib+clr.nativecorelib+clr.nativeaotlibs+clr.tools+clr.packages+mono+libs+host.tools+host.pkg+packs -c $(_BuildConfig) /p:DotNetBuildAllRuntimePacks=true
+ displayName: Build managed CoreCLR and host components, Mono, all libraries, and packs
# Upload the results.
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
@@ -145,10 +146,8 @@ extends:
name: $(osGroup)$(osSubgroup)_$(archType)
#
- # Build CoreCLR runtime packs
- # Linux and Linux_musl
- # CoreCLR runtime for CrossDac packaging
- # Create Linux installers
+ # Build all runtime packs for Linux and Linux musl
+ # Upload CoreCLR runtime for CrossDac packaging
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@@ -163,8 +162,8 @@ extends:
- linux_musl_arm64
jobParameters:
templatePath: 'templates-official'
- buildArgs: -s clr.runtime+clr.alljits+clr.corelib+clr.nativecorelib+clr.tools+clr.aot+clr.packages+libs+host+packs -c $(_BuildConfig)
- nameSuffix: CoreCLR
+ buildArgs: -c $(_BuildConfig) /p:DotNetBuildAllRuntimePacks=true
+ nameSuffix: AllRuntimes
isOfficialBuild: ${{ variables.isOfficialBuild }}
timeoutInMinutes: 120
postBuildSteps:
@@ -235,12 +234,12 @@ extends:
parameters:
name: windows_x64
dependsOn:
- - build_linux_x64_release_CoreCLR
- - build_linux_arm_release_CoreCLR
- - build_linux_arm64_release_CoreCLR
- - build_linux_musl_x64_release_CoreCLR
- - build_linux_musl_arm_release_CoreCLR
- - build_linux_musl_arm64_release_CoreCLR
+ - build_linux_x64_release_AllRuntimes
+ - build_linux_arm_release_AllRuntimes
+ - build_linux_arm64_release_AllRuntimes
+ - build_linux_musl_x64_release_AllRuntimes
+ - build_linux_musl_arm_release_AllRuntimes
+ - build_linux_musl_arm64_release_AllRuntimes
variables:
- name: crossDacArtifactsContainer
value: CoreCLRCrossDacArtifacts
@@ -250,59 +249,12 @@ extends:
value: $(crossDacArtifactsBasePath)/$(crossDacArtifactsContainer)
#
- # Build NativeAOT runtime packs
- #
- - template: /eng/pipelines/common/platform-matrix.yml
- parameters:
- jobTemplate: /eng/pipelines/common/global-build-job.yml
- buildConfig: release
- platforms:
- - osx_x64
- - osx_arm64
- - maccatalyst_x64
- - maccatalyst_arm64
- - tvossimulator_x64
- - tvossimulator_arm64
- - tvos_arm64
- - iossimulator_x64
- - iossimulator_arm64
- - ios_arm64
- - linux_x64
- - linux_arm
- - linux_arm64
- - linux_musl_x64
- - linux_musl_arm
- - linux_musl_arm64
- - linux_bionic_x64
- - linux_bionic_arm
- - linux_bionic_arm64
- - windows_x86
- - windows_x64
- - windows_arm64
- jobParameters:
- templatePath: 'templates-official'
- buildArgs: -c $(_BuildConfig) /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
- nameSuffix: NativeAOT
- isOfficialBuild: ${{ variables.isOfficialBuild }}
- postBuildSteps:
- # delete Microsoft.NETCore.App.Ref package to prevent upload conflict
- - task: DeleteFiles@1
- displayName: 'Delete Microsoft.NETCore.App.Ref package'
- inputs:
- SourceFolder: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping
- Contents: 'Microsoft.NETCore.App.Ref.*.nupkg'
- - template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
- parameters:
- name: NativeAOTRuntimePacks
-
- #
- # Build Mono runtime packs
+ # Build All runtime packs for mobile platforms
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: release
- runtimeFlavor: mono
platforms:
- android_x64
- android_x86
@@ -316,34 +268,26 @@ extends:
- iossimulator_x64
- iossimulator_arm64
- ios_arm64
- - osx_x64
- - osx_arm64
- - linux_x64
- - linux_arm
- - linux_arm64
- - linux_musl_x64
- - linux_bionic_arm64
- linux_bionic_x64
- # - linux_musl_arm
- # - linux_musl_arm64
- - windows_x64
- - windows_x86
- # - windows_arm64
+ - linux_bionic_arm
+ - linux_bionic_arm64
jobParameters:
templatePath: 'templates-official'
- buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) /p:BuildMonoAOTCrossCompiler=false
- nameSuffix: Mono
+ buildArgs: -c $(_BuildConfig) /p:BuildMonoAOTCrossCompiler=false /p:DotNetBuildAllRuntimePacks=true
+ nameSuffix: AllRuntimes
isOfficialBuild: ${{ variables.isOfficialBuild }}
postBuildSteps:
- # delete Microsoft.NETCore.App.Ref package to prevent upload conflict
+ # delete duplicate RIDless packages to prevent upload conflict
- task: DeleteFiles@1
- displayName: 'Delete Microsoft.NETCore.App.Ref package'
+ displayName: 'Delete Microsoft.NETCore.App.Ref and Microsoft.NETCore.App.HostModel package'
inputs:
SourceFolder: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping
- Contents: 'Microsoft.NETCore.App.Ref.*.nupkg'
+ Contents: |
+ 'Microsoft.NETCore.App.Ref.*.nupkg'
+ 'Microsoft.NET.HostModel.*.nupkg'
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
parameters:
- name: MonoRuntimePacks
+ name: MobileRuntimePacks
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@@ -359,15 +303,17 @@ extends:
nameSuffix: Mono
isOfficialBuild: ${{ variables.isOfficialBuild }}
postBuildSteps:
- # delete Microsoft.NETCore.App.Ref package to prevent upload conflict
+ # delete duplicate RIDless packages to prevent upload conflict
- task: DeleteFiles@1
- displayName: 'Delete Microsoft.NETCore.App.Ref package'
+ displayName: 'Delete Microsoft.NETCore.App.Ref and Microsoft.NETCore.App.HostModel package'
inputs:
SourceFolder: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping
- Contents: 'Microsoft.NETCore.App.Ref.*.nupkg'
+ Contents: |
+ 'Microsoft.NETCore.App.Ref.*.nupkg'
+ 'Microsoft.NET.HostModel.*.nupkg'
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
parameters:
- name: MonoRuntimePacks
+ name: MobileRuntimePacks
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@@ -383,75 +329,49 @@ extends:
isOfficialBuild: ${{ variables.isOfficialBuild }}
runtimeVariant: multithread
postBuildSteps:
- # delete Microsoft.NETCore.App.Ref package to prevent upload conflict
+ # delete duplicate RIDless packages to prevent upload conflict
- task: DeleteFiles@1
- displayName: 'Delete Microsoft.NETCore.App.Ref package'
+ displayName: 'Delete Microsoft.NETCore.App.Ref and Microsoft.NETCore.App.HostModel package'
inputs:
SourceFolder: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping
- Contents: 'Microsoft.NETCore.App.Ref.*.nupkg'
+ Contents: |
+ 'Microsoft.NETCore.App.Ref.*.nupkg'
+ 'Microsoft.NET.HostModel.*.nupkg'
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
parameters:
- name: MonoRuntimePacks
+ name: MobileRuntimePacks
#
- # Build Mono release AOT cross-compilers
+ # Build Mono LLVM runtime packs
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
- runtimeFlavor: mono
- buildConfig: release
platforms:
+ - osx_x64
- linux_x64
- - linux_musl_x64
- linux_arm64
- - linux_musl_arm64
- - windows_arm64
- - windows_x64
- - osx_x64
- - osx_arm64
+ buildConfig: release
+ runtimeFlavor: mono
jobParameters:
templatePath: 'templates-official'
- buildArgs: -c $(_BuildConfig) /p:DotNetBuildMonoCrossAOT=true
- nameSuffix: CrossAOT_Mono
- runtimeVariant: crossaot
+ buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
+ /p:MonoEnableLLVM=true /p:MonoAOTEnableLLVM=true /p:MonoBundleLLVMOptimizer=true
+ nameSuffix: Mono_LLVMAOT
+ runtimeVariant: LLVMAOT
isOfficialBuild: ${{ variables.isOfficialBuild }}
postBuildSteps:
+ # delete duplicate RIDless packages to prevent upload conflict
+ - task: DeleteFiles@1
+ displayName: 'Delete Microsoft.NETCore.App.Ref and Microsoft.NETCore.App.HostModel package'
+ inputs:
+ SourceFolder: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping
+ Contents: |
+ 'Microsoft.NETCore.App.Ref.*.nupkg'
+ 'Microsoft.NET.HostModel.*.nupkg'
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
parameters:
- name: MonoRuntimePacks
-
- #
- # Build Mono LLVM runtime packs
- #
- - template: /eng/pipelines/common/platform-matrix-multijob.yml
- parameters:
- platforms:
- - osx_x64
- - linux_x64
- # - linux_arm
- - linux_arm64
- # - linux_musl_x64
- # - linux_musl_arm64
- # - windows_x64
- # - windows_x86
- # - windows_arm64
- jobTemplates:
- #LLVMAOT
- - jobTemplate: /eng/pipelines/common/global-build-job.yml
- buildConfig: release
- runtimeFlavor: mono
- jobParameters:
- templatePath: 'templates-official'
- buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
- /p:MonoEnableLLVM=true /p:MonoAOTEnableLLVM=true /p:MonoBundleLLVMOptimizer=true
- nameSuffix: Mono_LLVMAOT
- runtimeVariant: LLVMAOT
- isOfficialBuild: ${{ variables.isOfficialBuild }}
- postBuildSteps:
- - template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
- parameters:
- name: MonoRuntimePacks
+ name: $(osGroup)$(osSubgroup)_$(archType)
#
# Build libraries (all TFMs) and packages
@@ -525,36 +445,36 @@ extends:
artifact: 'IntermediateArtifacts'
path: $(Build.SourcesDirectory)/artifacts/workloadPackages
patterns: |
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-arm64.Cross.android-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-arm64.Cross.browser-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.wasi-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-arm64.Cross.wasi-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.android-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.browser-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.ios-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.iossimulator-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.tvos-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.wasi-wasm*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net6.Manifest*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net7.Manifest*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net8.Manifest*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net9.Manifest*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Runtime.MonoTargets.Sdk*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Runtime.MonoAOTCompiler.Task*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Runtime.WebAssembly.Sdk*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Runtime.WebAssembly.Wasi*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Runtime.WebAssembly.Templates*.nupkg
+ IntermediateArtifacts/windows_x64/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-*.nupkg
+ IntermediateArtifacts/windows_arm64/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-arm64.Cross.android-*.nupkg
+ IntermediateArtifacts/windows_x64/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm*.nupkg
+ IntermediateArtifacts/windows_arm64/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-arm64.Cross.browser-wasm*.nupkg
+ IntermediateArtifacts/windows_x64/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.wasi-wasm*.nupkg
+ IntermediateArtifacts/windows_arm64/Shipping/Microsoft.NETCore.App.Runtime.AOT.win-arm64.Cross.wasi-wasm*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.android-*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.browser-wasm*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.ios-*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.iossimulator-*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.tvos-*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.wasi-wasm*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net6.Manifest*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net7.Manifest*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net8.Manifest*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Workload.Mono.ToolChain.net9.Manifest*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Runtime.MonoTargets.Sdk*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Runtime.MonoAOTCompiler.Task*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Runtime.WebAssembly.Sdk*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Runtime.WebAssembly.Wasi*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Runtime.WebAssembly.Templates*.nupkg
IntermediateArtifacts/windows_arm64/Shipping/Microsoft.NETCore.App.Runtime.win-arm64*.nupkg
IntermediateArtifacts/windows_x64/Shipping/Microsoft.NETCore.App.Runtime.win-x64*.nupkg
IntermediateArtifacts/windows_x86/Shipping/Microsoft.NETCore.App.Runtime.win-x86*.nupkg
- IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NET.Sdk.WebAssembly.Pack*.nupkg
+ IntermediateArtifacts/MobileRuntimePacks/Shipping/Microsoft.NET.Sdk.WebAssembly.Pack*.nupkg
- task: CopyFiles@2
displayName: Flatten packages
@@ -566,7 +486,7 @@ extends:
flattenFolders: true
buildArgs: -s mono.workloads -c $(_BuildConfig) /p:PackageSource=$(Build.SourcesDirectory)/artifacts/workloadPackages /p:WorkloadOutputPath=$(Build.SourcesDirectory)/artifacts/workloads
-
+
postBuildSteps:
# Prepare packages wrapping msis
- task: CopyFiles@2
@@ -603,25 +523,23 @@ extends:
isOfficialBuild: ${{ variables.isOfficialBuild }}
timeoutInMinutes: 120
dependsOn:
- - Build_android_arm_release_Mono
- - Build_android_arm64_release_Mono
- - Build_android_x86_release_Mono
- - Build_android_x64_release_Mono
+ - Build_android_arm_release_AllRuntimes
+ - Build_android_arm64_release_AllRuntimes
+ - Build_android_x86_release_AllRuntimes
+ - Build_android_x64_release_AllRuntimes
- Build_browser_wasm_Linux_release_Mono
- Build_wasi_wasm_linux_release_Mono
- - Build_ios_arm64_release_Mono
- - Build_iossimulator_x64_release_Mono
- - Build_iossimulator_arm64_release_Mono
- - Build_maccatalyst_arm64_release_Mono
- - Build_maccatalyst_x64_release_Mono
- - Build_tvos_arm64_release_Mono
- - Build_tvossimulator_arm64_release_Mono
- - Build_tvossimulator_x64_release_Mono
- - Build_windows_arm64_release_CrossAOT_Mono
- - Build_windows_x64_release_CrossAOT_Mono
- - Build_windows_x64_release_CoreCLR
- - Build_windows_x86_release_CoreCLR
- - Build_windows_arm64_release_CoreCLR
+ - Build_ios_arm64_release_AllRuntimes
+ - Build_iossimulator_x64_release_AllRuntimes
+ - Build_iossimulator_arm64_release_AllRuntimes
+ - Build_maccatalyst_arm64_release_AllRuntimes
+ - Build_maccatalyst_x64_release_AllRuntimes
+ - Build_tvos_arm64_release_AllRuntimes
+ - Build_tvossimulator_arm64_release_AllRuntimes
+ - Build_tvossimulator_x64_release_AllRuntimes
+ - Build_windows_x64_release_AllRuntimes
+ - Build_windows_x86_release_AllRuntimes
+ - Build_windows_arm64_release_AllRuntimes
- ${{ if eq(variables.isOfficialBuild, true) }}:
- template: /eng/pipelines/official/stages/publish.yml
diff --git a/eng/testing/workloads-browser.targets b/eng/testing/workloads-browser.targets
index 8f610916ff9837..ad279f9f506223 100644
--- a/eng/testing/workloads-browser.targets
+++ b/eng/testing/workloads-browser.targets
@@ -80,7 +80,7 @@
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.DotNetAppHost/Microsoft.NETCore.DotNetAppHost.pkgproj b/src/installer/pkg/projects/Microsoft.NETCore.DotNetAppHost/Microsoft.NETCore.DotNetAppHost.pkgproj
index 6f50203e9056c1..fcae5c30d7a086 100644
--- a/src/installer/pkg/projects/Microsoft.NETCore.DotNetAppHost/Microsoft.NETCore.DotNetAppHost.pkgproj
+++ b/src/installer/pkg/projects/Microsoft.NETCore.DotNetAppHost/Microsoft.NETCore.DotNetAppHost.pkgproj
@@ -11,7 +11,7 @@
-
+
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj
index fc7b8b90fe9070..078991b13e8292 100644
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj
@@ -2,7 +2,7 @@
- true
+ true
AppHostPack
true
dotnet-apphost-pack
@@ -31,7 +31,7 @@
-
+
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj
index 74b9b1462dccc4..3b0ccb8a5303a6 100644
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj
@@ -14,6 +14,7 @@
true
mono-aot-cross
$(AotCompilerFileName).exe
+ true
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.CoreCLR.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.CoreCLR.sfxproj
new file mode 100644
index 00000000000000..18ad16cfff4501
--- /dev/null
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.CoreCLR.sfxproj
@@ -0,0 +1,84 @@
+
+
+ CoreCLR
+ false
+ coreclr-pack
+
+
+
+
+
+ RuntimePack
+ dotnet-runtime
+ dotnet-runtime-internal
+ false
+ NetCore.SharedFramework
+ true
+ true
+
+
+
+
+
+
+
+ true
+
+ false
+
+ false
+ true
+ true
+ $(PublishReadyToRun)
+
+
+
+
+
+ true
+
+
+
+
+
+ $([MSBuild]::NormalizePath('$(Crossgen2InBuildDir)', 'crossgen2$(ExeSuffix)'))
+
+
+
+
+
+
+
+
+
+
+
+ tools
+
+
+
+
+
+
+
+
+
+
+ tools/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)
+
+
+ tools/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)
+
+
+
+
+
+
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.Mono.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.Mono.sfxproj
new file mode 100644
index 00000000000000..f074aa4c2e5e06
--- /dev/null
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.Mono.sfxproj
@@ -0,0 +1,73 @@
+
+
+ Mono
+ false
+ mono-pack
+
+
+
+
+
+
+ RuntimePack
+ true
+ true
+
+
+
+ true
+
+
+
+ false
+ true
+ true
+ true
+
+
+
+ Mono
+ false
+
+
+ Mono.LLVM
+ false
+
+
+ Mono.LLVM.AOT
+ false
+
+
+ Mono.multithread
+
+
+ $(SharedFrameworkName).Runtime.$(RuntimeSpecificFrameworkSuffix).$(RuntimeIdentifier)
+
+
+
+
+
+
+
+ runtimes/$(RuntimeIdentifier)/native/Mono.release.framework/%(RecursiveDir)
+
+
+
+ runtimes/$(RuntimeIdentifier)/native/Mono.debug.framework/%(RecursiveDir)
+
+
+
+ runtimes/$(RuntimeIdentifier)/native/include/%(RecursiveDir)
+
+
+
+ runtimes/$(RuntimeIdentifier)/build/%(RecursiveDir)
+
+
+
+
+
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.NativeAOT.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.NativeAOT.sfxproj
new file mode 100644
index 00000000000000..5101d093beb136
--- /dev/null
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.NativeAOT.sfxproj
@@ -0,0 +1,36 @@
+
+
+ CoreCLR
+ true
+ naot-pack
+
+
+
+
+
+
+ RuntimePack
+ true
+ true
+ true
+ false
+ $(SharedFrameworkName).Runtime.NativeAOT.$(RuntimeIdentifier)
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props
index ea2a155cb59066..f64d11dfae3551 100644
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props
@@ -5,61 +5,26 @@
AddRuntimeFilesToPackage;
AddFrameworkFilesToPackage
- true
- false
-
- false
-
- false
true
true
The .NET Shared Framework
- $(PublishReadyToRun)
-
- NativeAOT
-
-
- Mono
- false
-
-
- Mono.LLVM
- false
-
-
- Mono.LLVM.AOT
- false
-
-
- Mono.multithread
-
-
- $(SharedFrameworkName).Runtime.$(RuntimeSpecificFrameworkSuffix).$(RuntimeIdentifier)
-
-
-
-
+
+
+
-
-
-
-
-
-
-
<_HostFiles Include="$(DotNetHostBinDir)/$(LibPrefix)hostpolicy$(LibSuffix)" />
<_HostFiles Include="$(DotNetHostBinDir)/$(LibPrefix)hostfxr$(LibSuffix)" PackOnly="true" />
@@ -74,80 +39,29 @@
runtimes/$(RuntimeIdentifier)/native
-
-
-
- tools
-
-
-
- runtimes/$(RuntimeIdentifier)/native/Mono.release.framework/%(RecursiveDir)
-
-
-
- runtimes/$(RuntimeIdentifier)/native/Mono.debug.framework/%(RecursiveDir)
-
-
-
- runtimes/$(RuntimeIdentifier)/native/include/%(RecursiveDir)
-
-
-
- runtimes/$(RuntimeIdentifier)/build/%(RecursiveDir)
-
-
-
- runtimes/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)/native
-
-
- tools/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)
-
-
- tools/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)
-
-
- tools/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)
-
-
- tools
-
-
-
-
+
+ Condition="'%(LibrariesRuntimeFiles.Extension)' != '$(StaticLibSuffix)' or '$(IncludeStaticLibrariesInPack)' == 'true'">
runtimes/$(RuntimeIdentifier)/native/%(LibrariesRuntimeFiles.NativeSubDirectory)%(RecursiveDir)
-
-
- <_diaSymArch>$(_hostArch)
- <_diaSymReaderPath>$(PkgMicrosoft_DiaSymReader_Native)/runtimes/win/native/Microsoft.DiaSymReader.Native.$(_diaSymArch).dll
-
+
<_diaSymTargetArch>$(TargetArchitecture)
<_diaSymTargetArch Condition="'$(TargetArchitecture)' == 'x64'">amd64
<_diaSymReaderTargetArchPath>$(PkgMicrosoft_DiaSymReader_Native)/runtimes/win/native/Microsoft.DiaSymReader.Native.$(_diaSymTargetArch).dll
-
+
-
- runtimes/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)/native
-
@@ -169,37 +83,10 @@
-
+
-
-
- true
-
-
-
-
-
-
- tools
-
-
-
-
-
-
-
-
-
-
- true
-
-
-
-
+
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj
deleted file mode 100644
index e963032de1005e..00000000000000
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- RuntimePack
- dotnet-runtime-internal
- dotnet-runtime
- dotnet-runtime-internal
- true
- false
- dotnet-runtime-symbols
- NetCore.SharedFramework
- true
- true
-
-
-
- true
-
- true
-
-
-
-
-
-
-
-
-
-
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/ReadyToRun.targets b/src/installer/pkg/sfx/Microsoft.NETCore.App/ReadyToRun.targets
deleted file mode 100644
index 1e27f828c5bf58..00000000000000
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/ReadyToRun.targets
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- 1
- $([MSBuild]::NormalizePath('$(Crossgen2InBuildDir)', 'crossgen2$(ExeSuffix)'))
-
-
-
-
-
-
-
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/monocrossaot.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/monocrossaot.sfxproj
index 08da76561f220b..3f756aa41ecf0f 100644
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/monocrossaot.sfxproj
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/monocrossaot.sfxproj
@@ -8,6 +8,7 @@
$(MonoAotTargets);iossimulator-x64;iossimulator-arm64;ios-arm64
$(MonoAotTargets);maccatalyst-x64;maccatalyst-arm64
$(MonoAotTargets);wasi-wasm
+ true
diff --git a/src/installer/pkg/sfx/bundle/Microsoft.NETCore.App.Bundle.bundleproj b/src/installer/pkg/sfx/bundle/Microsoft.NETCore.App.Bundle.bundleproj
index 178a37fed055bb..d2701902038ee9 100644
--- a/src/installer/pkg/sfx/bundle/Microsoft.NETCore.App.Bundle.bundleproj
+++ b/src/installer/pkg/sfx/bundle/Microsoft.NETCore.App.Bundle.bundleproj
@@ -5,7 +5,7 @@
Name, used to generate the bundle upgrade code. Must stay the same to allow bundles in a given
product band to upgrade in place.
-->
- true
+ true
false
.NET Core Shared Framework Bundle Installer
$(MSBuildProjectDirectory)
@@ -24,7 +24,8 @@
-
+
+
diff --git a/src/installer/pkg/sfx/installers.proj b/src/installer/pkg/sfx/installers.proj
index 257ff4cc7593bd..41fe958ed6bb40 100644
--- a/src/installer/pkg/sfx/installers.proj
+++ b/src/installer/pkg/sfx/installers.proj
@@ -1,6 +1,8 @@
-
+
+
+
diff --git a/src/installer/tests/pretest.proj b/src/installer/tests/hostpretest.proj
similarity index 60%
rename from src/installer/tests/pretest.proj
rename to src/installer/tests/hostpretest.proj
index b97a2e77c2e131..98b493566a73c4 100644
--- a/src/installer/tests/pretest.proj
+++ b/src/installer/tests/hostpretest.proj
@@ -8,13 +8,18 @@
+
+
+
+
+
-
+ Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid())" />
diff --git a/src/libraries/System.IO.Ports/pkg/runtime.native.System.IO.Ports.proj b/src/libraries/System.IO.Ports/pkg/runtime.native.System.IO.Ports.proj
index 4be58c3771667f..00e32f9ad27dcd 100644
--- a/src/libraries/System.IO.Ports/pkg/runtime.native.System.IO.Ports.proj
+++ b/src/libraries/System.IO.Ports/pkg/runtime.native.System.IO.Ports.proj
@@ -13,7 +13,7 @@
+ They are filtered in the traversal build in oob-src.csproj based on the OutputRID. -->
diff --git a/src/libraries/oob-src.proj b/src/libraries/oob-src.proj
index 48bc4897a26790..4040662811bfc8 100644
--- a/src/libraries/oob-src.proj
+++ b/src/libraries/oob-src.proj
@@ -15,15 +15,15 @@
@(NetCoreAppLibrary->'%(Identity)\src\%(Identity).csproj');
Microsoft.VisualBasic.Core\src\Microsoft.VisualBasic.Core.vbproj" />
-
+
diff --git a/src/libraries/pretest.proj b/src/libraries/pretest.proj
index b70c66a6c175f9..07f7e90f9beb08 100644
--- a/src/libraries/pretest.proj
+++ b/src/libraries/pretest.proj
@@ -23,13 +23,13 @@
-
-
+
diff --git a/src/mono/browser/browser.proj b/src/mono/browser/browser.proj
index 40e600230619fe..5ab8d0407a7751 100644
--- a/src/mono/browser/browser.proj
+++ b/src/mono/browser/browser.proj
@@ -554,7 +554,7 @@
-
diff --git a/src/native/corehost/CMakeLists.txt b/src/native/corehost/CMakeLists.txt
index c03885d5b349ed..5ce72395e49f7f 100644
--- a/src/native/corehost/CMakeLists.txt
+++ b/src/native/corehost/CMakeLists.txt
@@ -103,9 +103,7 @@ if (NOT "${ASAN_RUNTIME}" STREQUAL "")
install(FILES ${ASAN_RUNTIME} DESTINATION corehost_test)
endif()
-if (NOT RUNTIME_FLAVOR STREQUAL Mono)
- if(CLR_CMAKE_TARGET_WIN32)
- add_subdirectory(comhost)
- add_subdirectory(ijwhost)
- endif()
+if(CLR_CMAKE_HOST_WIN32)
+ add_subdirectory(comhost)
+ add_subdirectory(ijwhost)
endif()
diff --git a/src/native/corehost/build.cmd b/src/native/corehost/build.cmd
index e5f535467ad38b..666226ee29a965 100644
--- a/src/native/corehost/build.cmd
+++ b/src/native/corehost/build.cmd
@@ -104,7 +104,6 @@ for /f "delims=-" %%i in ("%__OutputRid%") do set __HostFallbackOS=%%i
if "%__HostFallbackOS%" == "win" (set __HostFallbackOS=win10)
set __ExtraCmakeParams=%__ExtraCmakeParams% "-DCLI_CMAKE_PKG_RID=%cm_BaseRid%" "-DCLI_CMAKE_FALLBACK_OS=%__HostFallbackOS%" "-DCLI_CMAKE_COMMIT_HASH=%__CommitSha%"
-set __ExtraCmakeParams=%__ExtraCmakeParams% "-DRUNTIME_FLAVOR=%__RuntimeFlavor% "
set __ExtraCmakeParams=%__ExtraCmakeParams% "-DCLI_CMAKE_RESOURCE_DIR=%__ResourcesDir%" "-DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE%"
:: Regenerate the native build files
diff --git a/src/native/corehost/build.sh b/src/native/corehost/build.sh
index 6d112876e9de23..0f90013591b4ce 100755
--- a/src/native/corehost/build.sh
+++ b/src/native/corehost/build.sh
@@ -60,7 +60,6 @@ __IntermediatesDir="$__RootBinDir/obj/$__OutputRid.$__BuildType"
export __BinDir __IntermediatesDir __RuntimeFlavor
__CMakeArgs="-DCLI_CMAKE_PKG_RID=\"$__OutputRid\" -DCLI_CMAKE_FALLBACK_OS=\"$__HostFallbackOS\" -DCLI_CMAKE_COMMIT_HASH=\"$__commit_hash\" $__CMakeArgs"
-__CMakeArgs="-DRUNTIME_FLAVOR=\"$__RuntimeFlavor\" $__CMakeArgs"
__CMakeArgs="-DFEATURE_DISTRO_AGNOSTIC_SSL=$__PortableBuild $__CMakeArgs"
# Specify path to be set for CMAKE_INSTALL_PREFIX.
diff --git a/src/native/corehost/test/CMakeLists.txt b/src/native/corehost/test/CMakeLists.txt
index 4310a0e8449b36..ff270ede2697c2 100644
--- a/src/native/corehost/test/CMakeLists.txt
+++ b/src/native/corehost/test/CMakeLists.txt
@@ -3,10 +3,8 @@ add_subdirectory(mockcoreclr)
add_subdirectory(mockhostfxr)
add_subdirectory(mockhostpolicy)
add_subdirectory(nativehost)
-if (NOT RUNTIME_FLAVOR STREQUAL Mono)
- if (CLR_CMAKE_TARGET_WIN32)
- add_subdirectory(comsxs)
- add_subdirectory(ijw)
- add_subdirectory(typelibs)
- endif()
+if (CLR_CMAKE_HOST_WIN32)
+ add_subdirectory(comsxs)
+ add_subdirectory(ijw)
+ add_subdirectory(typelibs)
endif()