Skip to content

Commit 696c8b0

Browse files
authored
Use the regular build scripts for -vs coreclr.sln (#114511)
This fixes an issue with passing the RID in for cDAC and also removes one more direct usage of build-runtime.cmd
1 parent 130f52f commit 696c8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ if ($vs) {
180180
# launch the generated CMake solution.
181181
$vs = Split-Path $PSScriptRoot -Parent | Join-Path -ChildPath "artifacts\obj\coreclr" | Join-Path -ChildPath "windows.$archToOpen.$((Get-Culture).TextInfo.ToTitleCase($configToOpen))" | Join-Path -ChildPath "ide" | Join-Path -ChildPath "CoreCLR.sln"
182182
if (-Not (Test-Path $vs)) {
183-
Invoke-Expression "& `"$repoRoot/src/coreclr/build-runtime.cmd`" -configureonly -$archToOpen -$configToOpen -msbuild"
183+
Invoke-Expression "& `"$repoRoot/eng/common/msbuild.ps1`" $repoRoot/src/coreclr/runtime.proj /clp:nosummary /restore /p:Ninja=false /p:Configuration=$configToOpen /p:TargetArchitecture=$archToOpen /p:ConfigureOnly=true /p:ClrFullNativeBuild=true"
184184
if ($lastExitCode -ne 0) {
185185
Write-Error "Failed to generate the CoreCLR solution file."
186186
exit 1

0 commit comments

Comments
 (0)