Skip to content

Commit

Permalink
升级NET9支持
Browse files Browse the repository at this point in the history
  • Loading branch information
ldqk committed Nov 13, 2024
1 parent 5330665 commit 4c9897a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net5;net6;net7;net8</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6;net7;net8;net9</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>懒得勤快</Authors>
<Company>懒得勤快</Company>
<Product>基于EntityFrameworkCore和Lucene.NET实现的全文检索搜索引擎,主键int版本</Product>
<Product>基于EntityFrameworkCore和Lucene.NET实现的全文检索搜索引擎,主键guid版本</Product>
<Description>基于EntityFrameworkCore和Lucene.NET实现的全文检索搜索引擎</Description>
<Copyright>懒得勤快</Copyright>
<PackageProjectUrl>https://github.com/ldqk/Masuit.LuceneEFCore.SearchEngine</PackageProjectUrl>
<PackageId>Masuit.LuceneEFCore.SearchEngine_int</PackageId>
<Version>24.2</Version>
<PackageId>Masuit.LuceneEFCore.SearchEngine_guid</PackageId>
<Version>24.3</Version>
<Configurations>Debug;Release;String版本;Guid版本;Long版本</Configurations>
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>false</RunAnalyzersDuringLiveAnalysis>
Expand Down Expand Up @@ -48,16 +48,16 @@
<PackageReference Include="TinyPinyin.Net" Version="1.0.2" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net8'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.11" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net7'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.20" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.31" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.36" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net5'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[5.0.17]" />
<ItemGroup Condition=" '$(TargetFramework)' == 'net9'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.32" />
Expand Down
8 changes: 4 additions & 4 deletions WebSearchDemo/WebSearchDemo.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<Configurations>Debug;Release;String版本;Guid版本;Long版本</Configurations>
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
Expand All @@ -10,9 +10,9 @@
<DocumentationFile>D:\Private\Masuit.LuceneEFCore.SearchEngine\WebSearchDemo\WebSearchDemo.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.8" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Masuit.LuceneEFCore.SearchEngine\Masuit.LuceneEFCore.SearchEngine.csproj" />
Expand Down

0 comments on commit 4c9897a

Please sign in to comment.