Skip to content

Commit 9a182ac

Browse files
committed
Adjust generation scripts to explicitly choose the MSBuild engine
1 parent 75626c1 commit 9a182ac

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

eng/scripts/GenerateProjectList.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ param(
33
)
44
$ErrorActionPreference = 'stop'
55

6+
$msbuildEngine = 'dotnet'
67
$repoRoot = Resolve-Path "$PSScriptRoot/../.."
78

89
& "$repoRoot\eng\common\msbuild.ps1" -ci:$ci "$repoRoot/eng/CodeGen.proj" `

eng/scripts/GenerateReferenceAssemblies.ps1

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

6+
# GenAPI with `dotnet msbuild` doesn't consistently order attributes in Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp.cs
7+
$msbuildEngine = 'vs'
8+
69
$repoRoot = Resolve-Path "$PSScriptRoot/../.."
710

811
& "$repoRoot\eng\common\msbuild.ps1" -ci:$ci "$repoRoot/eng/CodeGen.proj" `

0 commit comments

Comments
 (0)