Skip to content

Commit f9ceb72

Browse files
committed
Adjust generation scripts to build using dotnet msbuild
1 parent 14eed13 commit f9ceb72

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

eng/scripts/GenerateProjectList.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ param(
33
)
44
$ErrorActionPreference = 'stop'
55

6+
$Configuration = if ($ci) { 'Release' } else { 'Debug' }
67
$repoRoot = Resolve-Path "$PSScriptRoot/../.."
8+
$MsbuildEngine = 'dotnet'
79

810
& "$repoRoot\eng\common\msbuild.ps1" -ci:$ci "$repoRoot/eng/CodeGen.proj" `
11+
-configuration $Configuration `
12+
-msbuildEngine $MsbuildEngine `
913
/t:GenerateProjectList `
1014
/bl:artifacts/log/genprojlist.binlog

eng/scripts/GenerateReferenceAssemblies.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ $ErrorActionPreference = 'stop'
55

66
$repoRoot = Resolve-Path "$PSScriptRoot/../.."
77

8+
$Configuration = if ($ci) { 'Release' } else { 'Debug' }
9+
& "$repoRoot\build.ps1" -ci:$ci -buildNative -configuration $Configuration
10+
11+
$MsbuildEngine = 'dotnet'
812
& "$repoRoot\eng\common\msbuild.ps1" -ci:$ci "$repoRoot/eng/CodeGen.proj" `
13+
-configuration $Configuration `
14+
-msbuildEngine $MsbuildEngine `
915
/t:GenerateReferenceSources `
1016
/bl:artifacts/log/genrefassemblies.binlog

0 commit comments

Comments
 (0)