Skip to content

Commit 4c63cac

Browse files
committed
Fix target platform issues
1 parent ee92ab1 commit 4c63cac

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ jobs:
3939
uses: microsoft/setup-msbuild@v3
4040

4141
- name: Restore the application
42-
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration /p:Platform=$env:Platform
42+
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
4343
env:
4444
Configuration: ${{ matrix.configuration }}
45-
Platform: ${{ matrix.platform }}
4645

4746
- name: Create the app package
4847
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration /p:Platform=$env:Platform /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:AppxPackageDir="$env:Appx_Package_Dir" /p:GenerateAppxPackageOnBuild=true

AuraClick/AuraClick.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<RootNamespace>AuraClick</RootNamespace>
77
<ApplicationManifest>app.manifest</ApplicationManifest>
88
<Platforms>x86;x64;ARM64</Platforms>
9-
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())</RuntimeIdentifier>
10-
<PublishProfile Condition="Exists('Properties\PublishProfiles\win-$(Platform).pubxml')">win-$(Platform).pubxml</PublishProfile>
9+
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
10+
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
1111
<UseWinUI>true</UseWinUI>
1212
<WinUISDKReferences>false</WinUISDKReferences>
1313
<EnableMsixTooling>true</EnableMsixTooling>
@@ -59,13 +59,13 @@
5959
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
6060
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
6161
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
62-
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
62+
<GenerateAppInstallerFile>True</GenerateAppInstallerFile>
6363
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
6464
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
6565
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
6666
<GenerateTestArtifacts>False</GenerateTestArtifacts>
67-
<AppxBundle>Auto</AppxBundle>
67+
<AppxBundle>Never</AppxBundle>
68+
<AppInstallerUri>https://cdn.auraclick.app/</AppInstallerUri>
6869
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
69-
<AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms>
7070
</PropertyGroup>
7171
</Project>

0 commit comments

Comments
 (0)