Skip to content

Commit

Permalink
feat: update casbin.Net version and end support for .netcore2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dacongda committed Mar 31, 2024
1 parent e1a6322 commit fd3b9d9
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Casbin.Persist.Adapter.EFCore/Casbin.Persist.Adapter.EFCore.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1;netstandard2.1;netstandard2.0;</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1;</TargetFrameworks>
<LangVersion>9.0</LangVersion>
</PropertyGroup>

Expand All @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Casbin.NET" Version="2.0.1" />
<PackageReference Include="Casbin.NET" Version="2.5.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
Expand Down Expand Up @@ -45,16 +45,6 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.32" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.32" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.32" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.32" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.32" />
</ItemGroup>

<ItemGroup>
<None Include="casbin.png" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
Expand Down

0 comments on commit fd3b9d9

Please # to comment.