Skip to content

Commit 717f140

Browse files
committed
Enable AOT and single file analyzers
1 parent b341ef9 commit 717f140

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Directory.Build.targets

Lines changed: 3 additions & 1 deletion
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)