Skip to content

Commit

Permalink
feat: Supports.net8.0 (#699)
Browse files Browse the repository at this point in the history
* 增加版本支持
* 修改Oracle依赖版本
* 支持`.net8.0`
  • Loading branch information
239573049 authored Feb 22, 2024
1 parent d66fd92 commit e737b06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<MicrosoftPackageVersion Condition="'$(TargetFramework)' == 'net6.0'">6.0.0</MicrosoftPackageVersion>
<MicrosoftPackageVersion Condition="'$(TargetFramework)' == 'net7.0'">7.0.0</MicrosoftPackageVersion>
<MicrosoftPackageVersion Condition="'$(TargetFramework)' == 'net8.0'">8.0.0</MicrosoftPackageVersion>
<BenchmarkDotNetPackageVersion>0.13.1</BenchmarkDotNetPackageVersion>
<MSTestPackageVersion>2.2.3</MSTestPackageVersion>
<MicrosoftTeskSdkPackageVersion>16.9.4</MicrosoftTeskSdkPackageVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<PackageReference Include="Oracle.EntityFrameworkCore" Version="7.21.12" />
</ItemGroup>
</When>
<When Condition="'$(TargetFramework)' == 'net8.0'">
<ItemGroup>
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.21.121" />
</ItemGroup>
</When>
</Choose>

<ItemGroup>
Expand Down

0 comments on commit e737b06

Please sign in to comment.