<Project Sdk="Microsoft.NET.Sdk">
    <Import Project="../version.props" />
    <PropertyGroup>
        <PackageTags>Tools,EF,Data,pgsql</PackageTags>
        <Description>
提供基于EF orm的pgsql实现
        </Description>
        <Product>Collapsenav.Net.Tool.Data.Pgsql</Product>
        <PackageId>Collapsenav.Net.Tool.Data.Pgsql</PackageId>
    </PropertyGroup>
    <ItemGroup>
        <ProjectReference Include="..\Collapsenav.Net.Tool.Data\Collapsenav.Net.Tool.Data.csproj"/>
    </ItemGroup>
    <ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.*"/>
    </ItemGroup>
    <ItemGroup Condition="'$(TargetFramework)'=='netstandard2.1'">
        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="5.*"/>
    </ItemGroup>
    <ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.*"/>
    </ItemGroup>
    <ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0-rc.2"/>
    </ItemGroup>
</Project>