Update prompt

This commit is contained in:
vczh
2026-03-08 03:04:45 -07:00
parent 2d708996c9
commit cd4346ef95
26 changed files with 1614 additions and 198 deletions

View File

@@ -1,3 +1,15 @@
param(
[string]$Configuration = "Debug",
[string]$Platform = "x64"
)
if (($Configuration -ne "Debug") -and ($Configuration -ne "Release")) {
throw "Invalid configuration: $Configuration. Allowed values are Debug or Release."
}
if (($Platform -ne "x64") -and ($Platform -ne "Win32")) {
throw "Invalid platform: $Platform. Allowed values are x64 or Win32."
}
. $PSScriptRoot\copilotShared.ps1
# Remove log files
@@ -17,8 +29,6 @@ if ($vsdevcmd -eq $null) {
}
# Execute msbuild with output to both console and log file
$Configuration = "Debug"
$Platform = "x64"
$msbuild_arguments = "MSBUILD `"$solutionFile`" /m:8 $rebuildControl /p:Configuration=`"$Configuration`";Platform=`"$Platform`""
$cmd_arguments = "`"`"$vsdevcmd`" & $msbuild_arguments"