Skip to content

Commit

Permalink
Merge pull request #665 from CommunityToolkit/dev/enable-more-trimmin…
Browse files Browse the repository at this point in the history
…g-analyzers

Enable AOT and single file analyzers
  • Loading branch information
Sergio0694 authored Apr 20, 2023
2 parents b341ef9 + 717f140 commit ceba207
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@

<!-- Configure trimming for projects on .NET 6 and above -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0'">
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsTrimmable>true</IsTrimmable>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<EnableAotAnalyzer>true</EnableAotAnalyzer>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
</PropertyGroup>

<!--
Expand Down

0 comments on commit ceba207

Please sign in to comment.