Skip to content

Commit c949d25

Browse files
committed
feat:重新适配9.0
1 parent c05a9c5 commit c949d25

File tree

242 files changed

+50866
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+50866
-1
lines changed

Directory.Build.props

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<Project>
2+
<PropertyGroup>
3+
<VersionPrefix>9.0.2</VersionPrefix>
4+
<LangVersion>latest</LangVersion>
5+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6+
<AnalysisLevel>latest</AnalysisLevel>
7+
<NoWarn>NU5105</NoWarn>
8+
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
9+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Npgsql.snk</AssemblyOriginatorKeyFile>
10+
<SignAssembly>true</SignAssembly>
11+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
12+
<ImplicitUsings>true</ImplicitUsings>
13+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
14+
15+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
16+
</PropertyGroup>
17+
18+
<ItemGroup>
19+
<Using Include="System.Diagnostics" />
20+
<Using Include="System.Linq.Expressions" />
21+
<Using Include="System.Reflection" />
22+
<Using Include="Microsoft.EntityFrameworkCore" />
23+
<Using Include="Microsoft.EntityFrameworkCore.ChangeTracking" />
24+
<Using Include="Microsoft.EntityFrameworkCore.Diagnostics" />
25+
<Using Include="Microsoft.EntityFrameworkCore.Design" />
26+
<Using Include="Microsoft.EntityFrameworkCore.Metadata.Builders" />
27+
<Using Include="Microsoft.EntityFrameworkCore.Infrastructure" />
28+
<Using Include="Microsoft.EntityFrameworkCore.Metadata" />
29+
<Using Include="Microsoft.EntityFrameworkCore.Metadata.Conventions" />
30+
<Using Include="Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure" />
31+
<Using Include="Microsoft.EntityFrameworkCore.Migrations" />
32+
<Using Include="Microsoft.EntityFrameworkCore.Migrations.Operations" />
33+
<Using Include="Microsoft.EntityFrameworkCore.Query" />
34+
<Using Include="Microsoft.EntityFrameworkCore.Query.SqlExpressions" />
35+
<Using Include="Microsoft.EntityFrameworkCore.Scaffolding" />
36+
<Using Include="Microsoft.EntityFrameworkCore.Scaffolding.Metadata" />
37+
<Using Include="Microsoft.EntityFrameworkCore.Storage" />
38+
<Using Include="Microsoft.EntityFrameworkCore.Storage.ValueConversion" />
39+
<Using Include="Microsoft.EntityFrameworkCore.Update" />
40+
<Using Include="Microsoft.EntityFrameworkCore.ValueGeneration" />
41+
<Using Include="Microsoft.EntityFrameworkCore.Utilities" />
42+
<Using Include="Microsoft.Extensions.Logging" />
43+
<Using Include="Microsoft.Extensions.DependencyInjection" />
44+
<Using Include="Kdbndp" />
45+
<Using Include="KdbndpTypes" />
46+
</ItemGroup>
47+
48+
</Project>

Directory.Packages.props

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<Project>
2+
<PropertyGroup>
3+
<EFCoreVersion>[9.0.0,10.0.0)</EFCoreVersion>
4+
<MicrosoftExtensionsVersion>9.0.0</MicrosoftExtensionsVersion>
5+
<KdbndpVersion>9.0.2</KdbndpVersion>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
10+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="$(EFCoreVersion)" />
11+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Abstractions" Version="$(EFCoreVersion)" />
12+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational.Specification.Tests" Version="$(EFCoreVersion)" />
13+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="$(EFCoreVersion)" />
14+
15+
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="$(MicrosoftExtensionsVersion)" />
16+
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="$(MicrosoftExtensionsVersion)" />
17+
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
18+
19+
<PackageVersion Include="Kdbndp" Version="$(KdbndpVersion)" />
20+
<PackageVersion Include="Kdbndp.NodaTime" Version="$(KdbndpVersion)" />
21+
<PackageVersion Include="Kdbndp.NetTopologySuite" Version="$(KdbndpVersion)" />
22+
<PackageVersion Include="Kdbndp.DependencyInjection" Version="$(KdbndpVersion)" />
23+
</ItemGroup>
24+
</Project>

NuGet.config

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
5+
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
6+
<add key="npgsql-vnext" value="https://www.myget.org/F/npgsql-vnext/api/v3/index.json" />
7+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
8+
</packageSources>
9+
10+
<packageSourceMapping>
11+
<packageSource key="nuget.org">
12+
<package pattern="*" />
13+
<!-- Our npgsql-vnext feed doesn't necessarily contain the last preview (package retention rules...), so we take it from nuget.org -->
14+
<package pattern="Kdbndp" />
15+
<package pattern="Kdbndp.*" />
16+
</packageSource>
17+
<packageSource key="npgsql-vnext">
18+
<package pattern="Kdbndp" />
19+
<package pattern="Kdbndp.*" />
20+
</packageSource>
21+
<packageSource key="dotnet9">
22+
<package pattern="*" />
23+
</packageSource>
24+
</packageSourceMapping>
25+
26+
</configuration>

0 commit comments

Comments
 (0)