File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 15
15
</PropertyGroup >
16
16
17
17
<!--
18
- Use NETSTANDARD2_1_OR_GREATER define to include .NET Standard 2.1 and .NET 6 shared APIs.
19
- They already have [NotNullIfNotNull] and [NotNullWhen] attributes built-in.
18
+ Use ` NETSTANDARD2_1_OR_GREATER` define to include .NET Standard 2.1 and .NET 6 shared APIs.
19
+ They already have ` [NotNullIfNotNull]` and ` [NotNullWhen]` attributes built-in.
20
20
Additionally, enable assembly trimming on .NET 6+.
21
21
-->
22
22
<PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0'" >
Original file line number Diff line number Diff line change 17
17
<Choose >
18
18
<When Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
19
19
20
- <!-- .NET Standard 2.0 doesn't have the Span<T> type -->
20
+ <!-- .NET Standard 2.0 doesn't have the ` Span<T>` type -->
21
21
<ItemGroup >
22
22
<PackageReference Include =" System.Memory" Version =" 4.5.4" />
23
23
</ItemGroup >
24
24
</When >
25
25
26
26
<When Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
27
27
28
- <!-- .NET Standard 2.1 doesn't have the Unsafe type -->
28
+ <!-- .NET Standard 2.1 doesn't have the ` Unsafe` type -->
29
29
<ItemGroup >
30
30
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
31
31
</ItemGroup >
32
32
</When >
33
33
34
34
<!--
35
- Use NETSTANDARD2_1_OR_GREATER define to include .NET Standard 2.1 and .NET 6 shared APIs.
35
+ Use ` NETSTANDARD2_1_OR_GREATER` define to include .NET Standard 2.1 and .NET 6 shared APIs.
36
36
Additionally, enable assembly trimming on .NET 6+.
37
37
-->
38
38
<When Condition =" '$(TargetFramework)' == 'net6.0'" >
Original file line number Diff line number Diff line change 28
28
<Choose >
29
29
<When Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
30
30
31
- <!-- .NET Standard 2.0 doesn't have the Span<T>, HashCode and ValueTask types -->
31
+ <!-- .NET Standard 2.0 doesn't have the ` Span<T>`, ` HashCode` and ` ValueTask` types -->
32
32
<ItemGroup >
33
33
<PackageReference Include =" Microsoft.Bcl.HashCode" Version =" 1.1.1" />
34
34
<PackageReference Include =" System.Memory" Version =" 4.5.4" />
39
39
40
40
<When Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
41
41
42
- <!-- .NET Standard 2.1 doesn't have the Unsafe type -->
42
+ <!-- .NET Standard 2.1 doesn't have the ` Unsafe` type -->
43
43
<ItemGroup >
44
44
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
45
45
</ItemGroup >
46
46
</When >
47
47
48
48
<When Condition =" '$(TargetFramework)' == 'netcoreapp3.1'" >
49
49
50
- <!-- Use NETSTANDARD2_1_OR_GREATER define to include shared APIs -->
50
+ <!-- Use ` NETSTANDARD2_1_OR_GREATER` define to include shared APIs -->
51
51
<PropertyGroup >
52
52
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
53
53
</PropertyGroup >
54
54
55
- <!-- .NET Core 3.1 has the Unsafe type, but the version it ships with lacks Unsafe.IsNullRef<T> -->
55
+ <!-- .NET Core 3.1 has the ` Unsafe` type, but the version it ships with lacks ` Unsafe.IsNullRef<T>` -->
56
56
<ItemGroup >
57
57
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
58
58
</ItemGroup >
59
59
</When >
60
60
61
61
<!--
62
- Use NETSTANDARD2_1_OR_GREATER define to include .NET Standard 2.1, .NET Core 3.1 and .NET 6 shared APIs.
62
+ Use ` NETSTANDARD2_1_OR_GREATER` define to include .NET Standard 2.1, .NET Core 3.1 and .NET 6 shared APIs.
63
63
Additionally, enable assembly trimming on .NET 6+
64
64
-->
65
65
<When Condition =" '$(TargetFramework)' == 'net6.0'" >
Original file line number Diff line number Diff line change 37
37
<None Include =" CommunityToolkit.Mvvm.targets" Pack =" true" PackagePath =" build\netstandard2.1" />
38
38
</ItemGroup >
39
39
40
- <!-- .NET Standard 2.0 doesn't have the Span<T> and IAsyncEnumerable<T> types -->
40
+ <!-- .NET Standard 2.0 doesn't have the ` Span<T>` and ` IAsyncEnumerable<T>` types -->
41
41
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
42
42
<PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 6.0.0" />
43
43
<PackageReference Include =" System.ComponentModel.Annotations" Version =" 5.0.0" />
44
44
<PackageReference Include =" System.Memory" Version =" 4.5.4" />
45
45
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
46
46
</ItemGroup >
47
47
48
- <!-- .NET Standard 2.1 doesn't have the Unsafe type -->
48
+ <!-- .NET Standard 2.1 doesn't have the ` Unsafe` type -->
49
49
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
50
50
<PackageReference Include =" System.ComponentModel.Annotations" Version =" 5.0.0" />
51
51
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
You can’t perform that action at this time.
0 commit comments