diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml
index c6fa093a4..7070e23d2 100644
--- a/eng/pipelines/templates/stages/vmr-build.yml
+++ b/eng/pipelines/templates/stages/vmr-build.yml
@@ -753,6 +753,28 @@ stages:
targetOS: osx
targetArchitecture: arm64
+ - template: ../jobs/vmr-build.yml
+ parameters:
+ buildName: OSX_ShortStack_NativeAOT
+ isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
+ vmrBranch: ${{ variables.VmrBranch }}
+ architecture: x64
+ pool: ${{ parameters.pool_Mac }}
+ targetOS: osx
+ targetArchitecture: x64
+ extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
+
+ - template: ../jobs/vmr-build.yml
+ parameters:
+ buildName: OSX_ShortStack_NativeAOT
+ isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
+ vmrBranch: ${{ variables.VmrBranch }}
+ architecture: arm64
+ pool: ${{ parameters.pool_Mac }}
+ targetOS: osx
+ targetArchitecture: arm64
+ extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
+
- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows
diff --git a/src/SourceBuild/content/Directory.Build.props b/src/SourceBuild/content/Directory.Build.props
index 34d697bbf..5170e359d 100644
--- a/src/SourceBuild/content/Directory.Build.props
+++ b/src/SourceBuild/content/Directory.Build.props
@@ -30,6 +30,8 @@
true
true
true
+
+ true
runtime