Skip to content

Commit a3ed28d

Browse files
authored
Added support for ARM64 devices (#2219)
1 parent 3b8efd6 commit a3ed28d

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

Files.Launcher/Files.Launcher.csproj

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>FilesFullTrust</RootNamespace>
1010
<AssemblyName>FilesFullTrust</AssemblyName>
11+
<RuntimeIdentifiers>win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot;win-arm64;win-x86;win-x64</RuntimeIdentifiers>
1112
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1213
<FileAlignment>512</FileAlignment>
1314
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -86,6 +87,28 @@
8687
<ErrorReport>prompt</ErrorReport>
8788
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
8889
<Prefer32Bit>true</Prefer32Bit>
90+
</PropertyGroup>
91+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
92+
<DebugSymbols>true</DebugSymbols>
93+
<OutputPath>bin\ARM64\Debug\</OutputPath>
94+
<DefineConstants>DEBUG;TRACE</DefineConstants>
95+
<DebugType>full</DebugType>
96+
<PlatformTarget>ARM64</PlatformTarget>
97+
<LangVersion>8.0</LangVersion>
98+
<ErrorReport>prompt</ErrorReport>
99+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
100+
<Prefer32Bit>true</Prefer32Bit>
101+
</PropertyGroup>
102+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
103+
<OutputPath>bin\ARM64\Release\</OutputPath>
104+
<DefineConstants>TRACE</DefineConstants>
105+
<Optimize>true</Optimize>
106+
<DebugType>pdbonly</DebugType>
107+
<PlatformTarget>ARM64</PlatformTarget>
108+
<LangVersion>8.0</LangVersion>
109+
<ErrorReport>prompt</ErrorReport>
110+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
111+
<Prefer32Bit>true</Prefer32Bit>
89112
</PropertyGroup>
90113
<ItemGroup>
91114
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
@@ -147,4 +170,4 @@
147170
<None Include="packages.config" />
148171
</ItemGroup>
149172
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
150-
</Project>
173+
</Project>

builds/azure-pipelines-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pool:
66

77
variables:
88
solution: '**/*.sln'
9-
buildPlatform: 'x86|x64'
9+
buildPlatform: 'x86|x64|arm64'
1010
buildConfiguration: 'Release'
1111
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
1212

builds/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pool:
66

77
variables:
88
solution: '**/*.sln'
9-
buildPlatform: 'x86|x64'
9+
buildPlatform: 'x86|x64|arm64'
1010
buildConfiguration: 'Release'
1111
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
1212

0 commit comments

Comments
 (0)