Skip to content

Commit

Permalink
Suppress IL2059 warning due to known platform issue in ColorPicker pr…
Browse files Browse the repository at this point in the history
…oject
  • Loading branch information
Arlodotexe committed Dec 17, 2024
1 parent 3d1b512 commit bca1543
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,15 @@
<_LayoutFile Remove="@(_LayoutFile)" Condition="$([System.String]::Copy(&quot;%(_LayoutFile.TargetPath)&quot;).StartsWith('CommunityToolkit.WinUI.Controls.Segmented\'))" />
</ItemGroup>
</Target>

<!--
Known platform issue
error IL2059: Unrecognized value passed to the parameter 'type' of method
'System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle)'.
It's not possible to guarantee the availability of the target static constructor.
-->
<PropertyGroup>
<NoWarn>$(NoWarn)IL2059;</NoWarn>
</PropertyGroup>
</Project>

0 comments on commit bca1543

Please sign in to comment.