Skip to content

Commit

Permalink
fix: fix targetFrameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
jackehuang committed Nov 29, 2023
1 parent 863c60d commit 7d9870b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NewLife.Redis.Extensions/NewLife.Redis.Extensions.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;netstandard2.0;netstandard2.1</TargetFrameworks>
<AssemblyTitle>新生命Redis扩展</AssemblyTitle>
<Description>Redis扩展库,便于注入Redis,支持分布式缓存IDistributedCache和数据保护IDataProtection</Description>
<Company>新生命开发团队</Company>
Expand Down Expand Up @@ -68,7 +68,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<ItemGroup Condition="'$(TargetFramework)'=='net8.0' Or '$(TargetFramework)'=='netstandard2.0' Or '$(TargetFramework)'=='netstandard2.1'">
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
Expand Down

0 comments on commit 7d9870b

Please sign in to comment.