Skip to content

Commit dc35f25

Browse files
committed
Suppress warnings more intelligently
1 parent 0e3969c commit dc35f25

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<LangVersion>preview</LangVersion>
99
<Nullable>enable</Nullable>
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
11+
<ILLinkTreatWarningsAsErrors>false</ILLinkTreatWarningsAsErrors>
1112
</PropertyGroup>
1213

1314
</Project>

DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,7 @@
55
<AssemblyName>DiscordChatExporter</AssemblyName>
66
<ApplicationIcon>..\favicon.ico</ApplicationIcon>
77
<PublishTrimmed>true</PublishTrimmed>
8-
<NoWarn>$(NoWarn);IL2104</NoWarn>
9-
</PropertyGroup>
10-
11-
<!-- Avalonia-related settings -->
12-
<PropertyGroup>
138
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
14-
<!-- Warnings not valid when using compiled bindings -->
15-
<NoWarn>$(NoWarn);IL2026</NoWarn>
16-
<!-- Warnings about Material.Avalonia having peer dependencies that we don't use -->
17-
<NoWarn>$(NoWarn);IL2035</NoWarn>
189
</PropertyGroup>
1910

2011
<ItemGroup>

0 commit comments

Comments
 (0)