File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 14
14
<PackageTags >Incremental;Loading;Collection;IncrementalLoadingCollection;String;Array;Extensions;Helpers</PackageTags >
15
15
</PropertyGroup >
16
16
17
- <!-- .NET Standard 2.1 and .NET 6 already have [NotNullIfNotNull] and [NotNullWhen] -->
17
+ <!-- .NET Standard 2.1 and .NET 6 already have [NotNullIfNotNull] and [NotNullWhen].
18
+ Additionally, also enable trimming support on .NET 6. -->
18
19
<PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0'" >
19
20
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
21
+ <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
22
+ <IsTrimmable >true</IsTrimmable >
20
23
</PropertyGroup >
21
24
22
25
</Project >
Original file line number Diff line number Diff line change 34
34
</ItemGroup >
35
35
</When >
36
36
37
+ <!-- Enable trimming support on .NET 6 -->
37
38
<When Condition =" '$(TargetFramework)' == 'net6.0'" >
38
39
<PropertyGroup >
39
40
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
41
+ <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
42
+ <IsTrimmable >true</IsTrimmable >
40
43
</PropertyGroup >
41
44
</When >
42
45
</Choose >
Original file line number Diff line number Diff line change 47
47
48
48
<When Condition =" '$(TargetFramework)' == 'net6.0'" >
49
49
50
- <!-- NETSTANDARD2_1_OR_GREATER: includes both .NET Standard 2.1, .NET Core 3.1 and .NET 6 -->
50
+ <!-- NETSTANDARD2_1_OR_GREATER: includes both .NET Standard 2.1, .NET Core 3.1 and .NET 6.
51
+ Additionally, also enable trimming support on .NET 6. -->
51
52
<PropertyGroup >
52
53
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
54
+ <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
55
+ <IsTrimmable >true</IsTrimmable >
53
56
</PropertyGroup >
54
57
</When >
55
58
You can’t perform that action at this time.
0 commit comments