Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 04b23d2

Browse files
authoredMar 5, 2025··
Fixed the build script for Release|arm64
1 parent 52c2747 commit 04b23d2

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed
 

‎.github/scripts/Build-AppSolution.ps1

+27-14
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,33 @@ if ($ReleaseBranch -eq "Debug")
2828
}
2929
elseif ($ReleaseBranch -eq "Release")
3030
{
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+
}
4558
}
4659
elseif ($ReleaseBranch -contains "Sideload")
4760
{

0 commit comments

Comments
 (0)
Please sign in to comment.