This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737
3838 <!-- Conditional compilation-->
3939 <PropertyGroup Condition =" '$(OS)' == 'Windows_NT' " >
40- <TargetFrameworks >net461 ;net472;netstandard2.0;net6.0</TargetFrameworks >
40+ <TargetFrameworks >net462 ;net472;netstandard2.0;net6.0</TargetFrameworks >
4141 </PropertyGroup >
4242 <PropertyGroup Condition =" '$(OS)' != 'Windows_NT' " >
4343 <TargetFrameworks >netstandard2.0;net6.0</TargetFrameworks >
5151 <!-- Conditional Package references -->
5252
5353 <!-- System.Text.Json is automatically included in net6.0, so we don't take an explicit dependency on it in the net6.0 build. -->
54- <!-- System.Text.Json version 7.0.0 dropped support for net461, so we use the older version there. -->
55- <!-- The netstandard2.0 build can be used in a class library consumed by an application targeting net461, so we use the older version there too.-->
56- <ItemGroup Condition =" '$(TargetFramework)' == 'net461'" >
57- <PackageReference Include =" System.Text.Json" Version =" 6.0.0" />
58- </ItemGroup >
59- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
60- <PackageReference Include =" System.Text.Json" Version =" 6.0.0" />
61- </ItemGroup >
62- <ItemGroup Condition =" '$(TargetFramework)' == 'net472'" >
54+ <ItemGroup Condition =" '$(TargetFramework)' != 'net6.0'" >
6355 <PackageReference Include =" System.Text.Json" Version =" 8.0.0" />
64- </ItemGroup >
56+ </ItemGroup >
6557
66- <ItemGroup Condition =" '$(TargetFramework)' == 'net461 ' or '$(TargetFramework)' == 'net472'" >
58+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462 ' or '$(TargetFramework)' == 'net472'" >
6759 <Reference Include =" System.Net.Http" />
6860 </ItemGroup >
6961
You can’t perform that action at this time.
0 commit comments