mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
13 lines
837 B
Batchfile
13 lines
837 B
Batchfile
setlocal enableDelayedExpansion
|
|
|
|
IF NOT DEFINED PTRoot (SET PTRoot=..\..)
|
|
|
|
SET PlatformArg=%1
|
|
IF NOT DEFINED PlatformArg (SET PlatformArg=x64)
|
|
|
|
rem In case of Release we should not use Debug CRT in VCRT forwarders
|
|
msbuild !PTRoot!\src\settings-ui\Settings.UI\PowerToys.Settings.csproj -t:Publish -p:Configuration="Release" -p:Platform="!PlatformArg!" -p:PowerToysRoot=!PTRoot! -p:AppxBundle=Never -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=InstallationPublishProfile.pubxml
|
|
|
|
rem In case of Release we should not use Debug CRT in VCRT forwarders
|
|
msbuild !PTRoot!\src\modules\launcher\PowerLauncher\PowerLauncher.csproj -t:Publish -p:Configuration="Release" -p:Platform="!PlatformArg!" -p:AppxBundle=Never -p:PowerToysRoot=!PTRoot! -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=InstallationPublishProfile.pubxml
|