2020-05-20 09:35:02 -07:00
|
|
|
setlocal enableDelayedExpansion
|
|
|
|
|
|
|
|
|
|
IF NOT DEFINED PTRoot (SET PTRoot=..\..)
|
|
|
|
|
|
2022-04-21 17:55:02 +03:00
|
|
|
SET PlatformArg=%1
|
|
|
|
|
IF NOT DEFINED PlatformArg (SET PlatformArg=x64)
|
|
|
|
|
|
2020-05-20 09:35:02 -07:00
|
|
|
rem In case of Release we should not use Debug CRT in VCRT forwarders
|
2022-04-21 17:55:02 +03:00
|
|
|
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
|
2020-05-20 09:35:02 -07:00
|
|
|
|
|
|
|
|
rem In case of Release we should not use Debug CRT in VCRT forwarders
|
2022-04-21 17:55:02 +03:00
|
|
|
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
|