Browse Source

Add conditional platform resources to csproj

pull/55/head
Ionite 1 year ago
parent
commit
81b7241ae0
No known key found for this signature in database
  1. 12
      StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj

12
StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj

@ -8,11 +8,6 @@
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>
<ItemGroup>
<AvaloniaResource Include="Assets\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AsyncImageLoader.Avalonia" Version="3.0.0-avalonia11-preview6" />
<PackageReference Include="Avalonia" Version="11.0.0" />
@ -62,6 +57,13 @@
<Resource Include="Assets\noimage.png" />
</ItemGroup>
<ItemGroup>
<!-- Only for win-64 -->
<AvaloniaResource Include="Assets\win-x64\**" Condition="'$(RuntimeIdentifier)' == 'win-x64'" />
<!-- Only for linux-64 -->
<AvaloniaResource Include="Assets\linux-x64\**" Condition="'$(RuntimeIdentifier)' == 'linux-x64'" />
</ItemGroup>
<ItemGroup>
<Compile Update="Views\Dialogs\SelectModelVersionDialog.axaml.cs">

Loading…
Cancel
Save