Skip to content

Commit

Permalink
Enable trimming (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Apr 25, 2024
1 parent be346e7 commit 15055f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<IsAotCompatible
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
</PropertyGroup>
</Project>
4 changes: 3 additions & 1 deletion src/Tests/SanityChecks.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[TestFixture]
#pragma warning disable IL2026

[TestFixture]
public class SanityChecks
{
[Test]
Expand Down

0 comments on commit 15055f6

Please sign in to comment.