|
2 | 2 | <PropertyGroup> |
3 | 3 | <Nullable>enable</Nullable> |
4 | 4 | <!-- extend the default lib targets for the main lib; mostly because of "vectors" --> |
5 | | - <TargetFrameworks>net461;netstandard2.0;net472;netcoreapp3.1;net6.0;net8.0</TargetFrameworks> |
| 5 | + <TargetFrameworks>net461;netstandard2.0;net472;netcoreapp3.1;net6.0;net8.0;net10.0</TargetFrameworks> |
6 | 6 | <Description>High performance Redis client, incorporating both synchronous and asynchronous usage.</Description> |
7 | 7 | <AssemblyName>StackExchange.Redis</AssemblyName> |
8 | 8 | <AssemblyTitle>StackExchange.Redis</AssemblyTitle> |
|
13 | 13 | <DefineConstants Condition="'$(TargetFramework)' != 'net461' and '$(TargetFramework)' != 'net472' and '$(TargetFramework)' != 'netstandard2.0'">$(DefineConstants);UNIX_SOCKET</DefineConstants> |
14 | 14 | <PackageReadmeFile>README.md</PackageReadmeFile> |
15 | 15 | </PropertyGroup> |
16 | | - |
17 | 16 | <ItemGroup> |
18 | 17 | <!-- needed everywhere (with hack to override to LTS when possible) --> |
19 | | - <PackageReference Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="8.0"/> |
| 18 | + <PackageReference Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="8.0"/> |
| 19 | + <PackageReference Condition="'$(TargetFramework)' == 'net10.0'" Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="10.0"/> |
20 | 20 | <PackageReference Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" Include="Microsoft.Extensions.Logging.Abstractions" /> |
21 | 21 | <PackageReference Include="Pipelines.Sockets.Unofficial" /> |
22 | 22 |
|
23 | 23 | <!-- hashing; net10 version bumps System.Buffers, which is a pain-point on netfx; as such, pin on anything down-level --> |
24 | 24 | <PackageReference Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" Include="System.IO.Hashing" /> |
25 | | - <PackageReference Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" Include="System.IO.Hashing" VersionOverride="9.0.12"/> |
| 25 | + <PackageReference Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" Include="System.IO.Hashing" VersionOverride="9.0.14"/> |
26 | 26 |
|
27 | 27 | <!-- built into .NET core now --> |
28 | 28 | <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netstandard2.0'" /> |
29 | 29 | <PackageReference Include="System.Threading.Channels" Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netstandard2.0'" /> |
30 | 30 |
|
31 | 31 | <!-- net461 needs this for OSPlatform et al --> |
32 | 32 | <PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Condition="'$(TargetFramework)' == 'net461' " /> |
33 | | - |
| 33 | + |
34 | 34 | <!-- netfx needs this for ZipArchive --> |
35 | 35 | <PackageReference Include="System.IO.Compression" Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net461' " /> |
36 | 36 |
|
|
0 commit comments