Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support EF7 with dotnet 8 #300

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<Copyright>Andrew Gubskiy © 2024</Copyright>
<Company>Ukrainian .NET Developer Community</Company>

<Version>10.5.0-pre</Version>
<AssemblyVersion>10.5.0</AssemblyVersion>
<FileVersion>10.5.0</FileVersion>
<PackageVersion>10.5.0-pre</PackageVersion>
<Version>10.6.0-pre</Version>
<AssemblyVersion>10.6.0</AssemblyVersion>
<FileVersion>10.6.0</FileVersion>
<PackageVersion>10.6.0-pre</PackageVersion>

<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/dncuug/X.PagedList.git</RepositoryUrl>
Expand Down
11 changes: 2 additions & 9 deletions src/X.PagedList.EF/X.PagedList.EF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description>EF extensions for X.PagedList library</Description>

<LangVersion>default</LangVersion>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>

<PackageTags>paging pagedlist paged list entity framework ef</PackageTags>
</PropertyGroup>
Expand All @@ -18,15 +18,8 @@
<None Include="../../LICENSE.md" Pack="true" PackagePath=""/>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[7.0.20,8)"/>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.7"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[7.0.20,8)"/>
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" PrivateAssets="all"/>
</ItemGroup>

Expand Down