File tree Expand file tree Collapse file tree 5 files changed +22
-5
lines changed
Expand file tree Collapse file tree 5 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 6060 </Dependency >
6161 </ProductDependencies >
6262 <ToolsetDependencies >
63- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.24067.2 " >
63+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.24068.1 " >
6464 <Uri >https://github.com/dotnet/arcade</Uri >
65- <Sha >cfa8c837c65bd29ed89366be29ff3ef06cea8a2e </Sha >
65+ <Sha >c246c9d7bfb98646ec52a18471d075219b26dccc </Sha >
6666 <SourceBuild RepoName =" arcade" ManagedOnly =" true" />
6767 </Dependency >
68- <Dependency Name =" Microsoft.DotNet.XliffTasks" Version =" 9.0.0-beta.24067.2 " >
68+ <Dependency Name =" Microsoft.DotNet.XliffTasks" Version =" 9.0.0-beta.24068.1 " >
6969 <Uri >https://github.com/dotnet/arcade</Uri >
70- <Sha >cfa8c837c65bd29ed89366be29ff3ef06cea8a2e </Sha >
70+ <Sha >c246c9d7bfb98646ec52a18471d075219b26dccc </Sha >
7171 </Dependency >
7272 </ToolsetDependencies >
7373</Dependencies >
Original file line number Diff line number Diff line change 2020 [switch ] $publish ,
2121 [switch ] $clean ,
2222 [switch ] $verticalBuild ,
23+ [switch ][Alias (' pb' )]$productBuild ,
2324 [switch ][Alias (' bl' )]$binaryLog ,
2425 [switch ][Alias (' nobl' )]$excludeCIBinarylog ,
2526 [switch ] $ci ,
@@ -60,6 +61,7 @@ function Print-Usage() {
6061 Write-Host " -publish Publish artifacts (e.g. symbols)"
6162 Write-Host " -clean Clean the solution"
6263 Write-Host " -verticalBuild Run in 'vertical build' infra mode."
64+ Write-Host " -productBuild Build the solution in the way it will be built in the full .NET product (VMR) build (short: -pb)"
6365 Write-Host " "
6466
6567 Write-Host " Advanced settings:"
@@ -122,6 +124,7 @@ function Build {
122124 / p:Deploy= $deploy `
123125 / p:Test= $test `
124126 / p:Pack= $pack `
127+ / p:DotNetBuildRepo= $ ($productBuild -or $verticalBuild ) `
125128 / p:ArcadeBuildVertical= $verticalBuild `
126129 / p:IntegrationTest= $integrationTest `
127130 / p:PerformanceTest= $performanceTest `
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ usage()
2222 echo " --sourceBuild Source-build the solution (short: -sb)"
2323 echo " Will additionally trigger the following actions: --restore, --build, --pack"
2424 echo " If --configuration is not set explicitly, will also set it to 'Release'"
25+ echo " --productBuild Build the solution in the way it will be built in the full .NET product (VMR) build (short: -pb)"
26+ echo " Will additionally trigger the following actions: --restore, --build, --pack"
27+ echo " If --configuration is not set explicitly, will also set it to 'Release'"
2528 echo " --rebuild Rebuild solution"
2629 echo " --test Run all unit tests in the solution (short: -t)"
2730 echo " --integrationTest Run all integration tests in the solution"
@@ -60,6 +63,7 @@ restore=false
6063build=false
6164source_build=false
6265vertical_build=false
66+ product_build=false
6367rebuild=false
6468test=false
6569integration_test=false
@@ -127,12 +131,20 @@ while [[ $# > 0 ]]; do
127131 -sourcebuild|-sb)
128132 build=true
129133 source_build=true
134+ product_build=true
135+ restore=true
136+ pack=true
137+ ;;
138+ -productBuild|-pb)
139+ build=true
140+ product_build=true
130141 restore=true
131142 pack=true
132143 ;;
133144 -verticalbuild|-vb)
134145 build=true
135146 vertical_build=true
147+ product_build=true
136148 restore=true
137149 pack=true
138150 ;;
@@ -226,6 +238,7 @@ function Build {
226238 /p:RepoRoot=" $repo_root " \
227239 /p:Restore=$restore \
228240 /p:Build=$build \
241+ /p:DotNetBuildRepo=$product_build \
229242 /p:ArcadeBuildFromSource=$source_build \
230243 /p:ArcadeBuildVertical=$vertical_build \
231244 /p:Rebuild=$rebuild \
Original file line number Diff line number Diff line change 9494 $baseOsArgs \
9595 /p:SourceBuildNonPortable=${{ parameters.platform.nonPortable }} \
9696 /p:ArcadeBuildFromSource=true \
97+ /p:DotNetBuildRepo=true \
9798 /p:AssetManifestFileName=$assetManifestFileName
9899 displayName : Build
99100
Original file line number Diff line number Diff line change 88 "dotnet" : " 9.0.100-alpha.1.23615.4"
99 },
1010 "msbuild-sdks" : {
11- "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.24067.2 "
11+ "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.24068.1 "
1212 }
1313}
You can’t perform that action at this time.
0 commit comments