Skip to content

Commit e9a1c31

Browse files
committed
Code Quality: Only bundle architecture specific 7z dll
1 parent 2c849a2 commit e9a1c31

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Files.App/Files.App.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@
5555
<Content Update="Assets\FilesOpenDialog\Files.App.Launcher.exe">
5656
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5757
</Content>
58-
<Content Include="7z64.dll">
58+
<Content Condition="'$(Platform)' == 'x64'" Include="7z64.dll">
5959
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
60-
</Content><Content Include="7z.dll">
60+
</Content>
61+
<Content Condition="'$(Platform)' == 'x86'" Include="7z.dll">
6162
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6263
</Content>
63-
<Content Include="7zArm64.dll">
64+
<Content Condition="'$(Platform)' == 'arm64'" Include="7zArm64.dll">
6465
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6566
</Content>
6667
</ItemGroup>

0 commit comments

Comments
 (0)