File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2424
2525 <ItemGroup >
2626 <PackageReference Include =" CSharpier.MsBuild" Version =" 0.30.2" PrivateAssets =" all" />
27- <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 9.0.0" Condition =" '$(TargetFramework)' == 'netstandard2.0' " />
27+ <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 9.0.0" Condition =" $([MSBuild]::IsTargetFrameworkCompatible( '$(TargetFramework)', 'netstandard2.1')) != true " />
2828 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" all" />
2929 <PackageReference Include =" PolyShim" Version =" 1.14.0" PrivateAssets =" all" />
30- <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.6.0 " Condition =" '$(TargetFramework)' == 'netstandard2.0' " />
31- <PackageReference Include =" System.Management" Version =" 9.0.0" Condition =" '$(TargetFramework )' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1 '" />
32- <PackageReference Include =" System.Memory" Version =" 4.6.0" Condition =" '$(TargetFramework)' == 'netstandard2.0' " />
30+ <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.4 " Condition =" $([MSBuild]::IsTargetFrameworkCompatible( '$(TargetFramework)', 'netstandard2.1')) != true " />
31+ <PackageReference Include =" System.Management" Version =" 9.0.0" Condition =" '$(TargetFrameworkIdentifier )' == '.NETStandard '" />
32+ <PackageReference Include =" System.Memory" Version =" 4.6.0" Condition =" $([MSBuild]::IsTargetFrameworkCompatible( '$(TargetFramework)', 'netstandard2.1')) != true " />
3333 </ItemGroup >
3434
3535 <ItemGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETFramework'" >
Original file line number Diff line number Diff line change 1212 </PropertyGroup >
1313
1414 <!-- Disable nullability warnings on older frameworks because there is no nullability info for BCL -->
15- <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net462' " >
15+ <PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible( '$(TargetFramework)', 'netstandard2.1')) != true " >
1616 <Nullable >annotations</Nullable >
1717 </PropertyGroup >
1818
You can’t perform that action at this time.
0 commit comments