Skip to content

Commit ceba207

Browse files
authored
Merge pull request #665 from CommunityToolkit/dev/enable-more-trimming-analyzers
Enable AOT and single file analyzers
2 parents b341ef9 + 717f140 commit ceba207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Directory.Build.targets

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99

1010
<!-- Configure trimming for projects on .NET 6 and above -->
1111
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0'">
12-
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
1312
<IsTrimmable>true</IsTrimmable>
13+
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
14+
<EnableAotAnalyzer>true</EnableAotAnalyzer>
15+
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
1416
</PropertyGroup>
1517

1618
<!--

0 commit comments

Comments
 (0)