File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 </PropertyGroup >
2525
2626 <PropertyGroup >
27- <LibTargetFrameworks >netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0</LibTargetFrameworks >
27+ <LibTargetFrameworks >netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net462;net472;net48 </LibTargetFrameworks >
2828 <AppTargetFrameworks >net6.0;net7.0;net8.0;net9.0</AppTargetFrameworks >
29- <TestTargetFrameworks >net6.0;net7.0;net8.0;net9.0</TestTargetFrameworks >
30- </PropertyGroup >
29+ </PropertyGroup >
30+
31+ <Choose >
32+ <When Condition =" $([MSBuild]::IsOSPlatform('OSX')) OR $([MSBuild]::IsOSPlatform('Linux'))" >
33+ <PropertyGroup >
34+ <TestTargetFrameworks >net6.0;net7.0;net8.0;net9.0</TestTargetFrameworks >
35+ </PropertyGroup >
36+ </When >
37+ <Otherwise >
38+ <PropertyGroup >
39+ <TestTargetFrameworks >netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net462;net472;net48</TestTargetFrameworks >
40+ </PropertyGroup >
41+ </Otherwise >
42+ </Choose >
3143
3244</Project >
Original file line number Diff line number Diff line change 4747 <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 9.0.6" />
4848 </ItemGroup >
4949
50+ <ItemGroup Condition =" $(TargetFramework.StartsWith('net4')) " >
51+ <PackageReference Include =" System.Net.Http" Version =" 4.3.4" />
52+ </ItemGroup >
53+
5054 <Choose >
5155 <When Condition =" $(TargetFramework) == 'netcoreapp3.1' OR $(TargetFramework) == 'net5.0' " >
5256 <ItemGroup >
You can’t perform that action at this time.
0 commit comments