|
25 | 25 | <ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) "> |
26 | 26 | <Compile Include="Platforms\netstandard2.0\**\*.cs" /> |
27 | 27 | <Compile Include="Platforms\shared\**\*.cs" /> |
28 | | - <PackageReference Include="System.ComponentModel" /> |
29 | | - <PackageReference Include="System.ComponentModel.Annotations" /> |
30 | | - <PackageReference Include="System.Diagnostics.Contracts" /> |
31 | | - <PackageReference Include="System.Dynamic.Runtime" /> |
32 | | - <PackageReference Include="System.Runtime.Serialization.Primitives" /> |
33 | 28 | </ItemGroup> |
34 | 29 | <ItemGroup Condition="$(TargetFramework.EndsWith('-ios')) or $(TargetFramework.EndsWith('-maccatalyst'))"> |
35 | 30 | <Compile Include="Platforms\apple-common\**\*.cs" /> |
|
54 | 49 | </ItemGroup> |
55 | 50 | <ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) or '$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0' or '$(TargetFramework)' == 'net8.0' or $(TargetFramework.EndsWith('-windows10.0.17763.0')) or $(TargetFramework.EndsWith('-windows10.0.19041.0')) "> |
56 | 51 | <Compile Include="Platforms\net\**\*.cs" /> |
57 | | - <PackageReference Include="System.ComponentModel.Annotations" /> |
58 | 52 | </ItemGroup> |
59 | 53 | <ItemGroup> |
60 | 54 | <PackageReference Include="Splat" /> |
61 | 55 | <PackageReference Include="DynamicData" /> |
| 56 | + </ItemGroup> |
| 57 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net4'))"> |
| 58 | + <PackageReference Include="System.Text.Json" /> |
| 59 | + <PackageReference Include="System.ComponentModel.Annotations" /> |
| 60 | + </ItemGroup> |
| 61 | + <ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) "> |
| 62 | + <PackageReference Include="System.ComponentModel" /> |
| 63 | + <PackageReference Include="System.ComponentModel.Annotations" /> |
| 64 | + <PackageReference Include="System.Diagnostics.Contracts" /> |
| 65 | + <PackageReference Include="System.Dynamic.Runtime" /> |
| 66 | + <PackageReference Include="System.Runtime.Serialization.Primitives" /> |
| 67 | + <PackageReference Include="System.Text.Json" /> |
| 68 | + </ItemGroup> |
| 69 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net6'))"> |
62 | 70 | <PackageReference Include="System.Text.Json" /> |
63 | 71 | </ItemGroup> |
64 | 72 | <ItemGroup> |
|
0 commit comments