Skip to content

Commit 95c30fa

Browse files
authored
Merge pull request #278 from CommunityToolkit/dev/restore-mvvm-trim-analyzer
Enable trim analyzers in MVVM Toolkit again
2 parents 2c5bf9c + 5e218b7 commit 95c30fa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@
3636

3737
<!-- Enable trimming support on .NET 6 -->
3838
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
39+
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
3940
<IsTrimmable>true</IsTrimmable>
40-
41-
<!-- Workaround for .NET 6.0.x regression (see https://github.com/dotnet/linker/issues/2642), enable again when fixed in SDK -->
42-
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
4341
</PropertyGroup>
4442

4543
<!-- Source generator project reference for packing -->

0 commit comments

Comments
 (0)