-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathBuild.ps1
More file actions
16 lines (12 loc) · 577 Bytes
/
Copy pathBuild.ps1
File metadata and controls
16 lines (12 loc) · 577 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
echo "If build fails, do this:"
echo "cmd.exe ""/K"" '""C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat"" && pwsh -noexit'"
$configuration = "Debug"
$platform = "x64"
$targetFramework = "net10.0-windows"
echo "Building"
$env:winprint_telemetryId="put Kindel Systems key here"
texttransform .\src\WinPrint.Core\Services\TelemetryService.tt
msbuild /p:Configuration=$configuration /p:Platform=$platform WinPrint.slnx
$tuiPath = ".\src\WinPrint.TUI\bin\$platform\$configuration\$targetFramework\wp.exe"
echo "Testing wp CLI"
& $tuiPath --help