Skip to content

Commit 9453cd2

Browse files
committed
Adjust generation scripts to build using dotnet msbuild
1 parent 01d7539 commit 9453cd2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

eng/scripts/GenerateProjectList.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ 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" `
911
/t:GenerateProjectList `
10-
/bl:artifacts/log/genprojlist.binlog
12+
/bl:artifacts/log/genprojlist.binlog `
13+
/p:Configuration=$Configuration

eng/scripts/GenerateReferenceAssemblies.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ $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" `
913
/t:GenerateReferenceSources `
10-
/bl:artifacts/log/genrefassemblies.binlog
14+
/bl:artifacts/log/genrefassemblies.binlog `
15+
/p:Configuration=$Configuration

0 commit comments

Comments
 (0)