-
Notifications
You must be signed in to change notification settings - Fork 870
Expand file tree
/
Copy pathAspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests.csproj
More file actions
35 lines (28 loc) · 1.61 KB
/
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests.csproj
File metadata and controls
35 lines (28 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(RepoRoot)src\Aspire.Hosting.PostgreSQL\PostgresContainerImageTags.cs" />
<Compile Include="..\Aspire.Npgsql.Tests\PostgreSQLContainerFixture.cs" />
<None Include="$(RepoRoot)src\Components\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL\ConfigurationSchema.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Components\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.csproj" />
<ProjectReference Include="..\Aspire.Components.Common.TestUtilities\Aspire.Components.Common.TestUtilities.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.RemoteExecutor" />
<PackageReference Include="Testcontainers.PostgreSQL" />
</ItemGroup>
<!-- Npgsql EF needs to match the same major version as the underlying Npgsql assemblies. -->
<!-- This is to override CentralPackageTransitivePinningEnabled -->
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Npgsql.DependencyInjection" VersionOverride="$(Npgsql8Version)" />
<PackageReference Include="Npgsql.OpenTelemetry" VersionOverride="$(Npgsql8Version)" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageVersion Update="Npgsql.DependencyInjection" Version="$(Npgsql9Version)" />
<PackageVersion Update="Npgsql.OpenTelemetry" Version="$(Npgsql9Version)" />
</ItemGroup>
</Project>