Disable trim warnings in CLI as a workaround for C# 14 extension block issue

This commit is contained in:
Tyrrrz
2025-11-16 22:54:23 +02:00
parent 714d2e6806
commit e958600073
2 changed files with 8 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
<PropertyGroup>
<PublishMacOSBundle>false</PublishMacOSBundle>
</PropertyGroup>
<PropertyGroup>
<!-- HACK: Disable trim warnings because they seem to break when the code contains C# 14 extension blocks -->
<NoWarn>$(NoWarn);AD0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<AvaloniaResource Include="..\favicon.ico" Link="favicon.ico" />
</ItemGroup>