@@ -28,20 +28,33 @@ if ($ReleaseBranch -eq "Debug")
28
28
}
29
29
elseif ($ReleaseBranch -eq " Release" )
30
30
{
31
- msbuild $StartupProjectPath `
32
- / t:Build `
33
- / clp:ErrorsOnly `
34
- / p:Platform= $Platform `
35
- / p:Configuration= $Configuration `
36
- / p:AppxBundlePlatforms= $Platform `
37
- / p:AppxBundle= Always `
38
- / p:UapAppxPackageBuildMode= SideloadOnly `
39
- / p:AppxPackageDir= $AppxPackageDir `
40
- / p:AppxPackageSigningEnabled= true `
41
- / p:PackageCertificateKeyFile= $AppxPackageCertKeyFile `
42
- / p:PackageCertificatePassword= " " `
43
- / p:PackageCertificateThumbprint= " " `
44
- / v:quiet
31
+ if ($Platform -eq " x64" )
32
+ {
33
+ msbuild $StartupProjectPath `
34
+ / t:Build `
35
+ / clp:ErrorsOnly `
36
+ / p:Platform= $Platform `
37
+ / p:Configuration= $Configuration `
38
+ / p:AppxBundlePlatforms= $Platform `
39
+ / p:AppxBundle= Always `
40
+ / p:UapAppxPackageBuildMode= SideloadOnly `
41
+ / p:AppxPackageDir= $AppxPackageDir `
42
+ / p:AppxPackageSigningEnabled= true `
43
+ / p:PackageCertificateKeyFile= $AppxPackageCertKeyFile `
44
+ / p:PackageCertificatePassword= " " `
45
+ / p:PackageCertificateThumbprint= " " `
46
+ / v:quiet
47
+ }
48
+ else
49
+ {
50
+ msbuild $StartupProjectPath `
51
+ / t:Build `
52
+ / clp:ErrorsOnly `
53
+ / p:Platform= $Platform `
54
+ / p:Configuration= $Configuration `
55
+ / p:AppxBundle= Never `
56
+ / v:quiet
57
+ }
45
58
}
46
59
elseif ($ReleaseBranch -contains " Sideload" )
47
60
{
0 commit comments