Skip to content

Commit

Permalink
Workaround for unoplatform/uno#18552
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Dec 3, 2024
1 parent 1c3eceb commit 2f7fadd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/MZikmund.App/MZikmund.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
</UnoFeatures>
</PropertyGroup>

<PropertyGroup>
<!-- Workaround for https://github.com/unoplatform/uno/issues/18552 -->
<PlatformTarget Condition=" '$(PlatformTarget)' == '' AND $(Platform) == 'AnyCPU' AND '$(NETCoreSdkRuntimeIdentifier)' == 'win-x86'">x86</PlatformTarget>
<PlatformTarget Condition=" '$(PlatformTarget)' == '' AND $(Platform) == 'AnyCPU' AND '$(NETCoreSdkRuntimeIdentifier)' == 'win-x64'">x64</PlatformTarget>
<PlatformTarget Condition=" '$(PlatformTarget)' == '' AND $(Platform) == 'AnyCPU' AND '$(NETCoreSdkRuntimeIdentifier)' == 'win-arm64'">arm64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Templates\PostPreviewTemplate.html" />
</ItemGroup>
Expand Down

0 comments on commit 2f7fadd

Please sign in to comment.