mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-18 22:31:08 +08:00
b4f80b6b6b
* see #2115 - correctness: do no use SingleRow by default; affects trailing errors - performance: QueryUnbufferedAsync can mirror cmd?.Cancel() in finally (this is consistent with all other scenarios) * remove settings tweak
48 lines
2.3 KiB
XML
48 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AssemblyName>Dapper.Tests</AssemblyName>
|
|
<Description>Dapper Core Test Suite</Description>
|
|
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
|
|
<DefineConstants>$(DefineConstants);MSSQLCLIENT</DefineConstants>
|
|
<NoWarn>$(NoWarn);IDE0017;IDE0034;IDE0037;IDE0039;IDE0042;IDE0044;IDE0051;IDE0052;IDE0059;IDE0060;IDE0063;IDE1006;xUnit1004;CA1806;CA1816;CA1822;CA1825;CA2208;CA1861</NoWarn>
|
|
<Nullable>enable</Nullable>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net462' OR '$(TargetFramework)' == 'net472'">
|
|
<DefineConstants>$(DefineConstants);ENTITY_FRAMEWORK;LINQ2SQL;OLEDB</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../Dapper.ProviderTools/Dapper.ProviderTools.csproj" />
|
|
<ProjectReference Include="../../Dapper.SqlBuilder/Dapper.SqlBuilder.csproj" />
|
|
<PackageReference Include="DuckDB.NET.Data.Full" />
|
|
<PackageReference Include="FastMember" />
|
|
<PackageReference Include="FirebirdSql.Data.FirebirdClient" />
|
|
<PackageReference Include="Microsoft.Data.SqlClient" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite" />
|
|
<PackageReference Include="MySqlConnector" />
|
|
<PackageReference Include="Npgsql" />
|
|
<PackageReference Include="System.Data.SqlClient" />
|
|
<PackageReference Include="System.ValueTuple" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' != 'net462'">
|
|
<PackageReference Include="Snowflake.Data" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net462' OR '$(TargetFramework)' == 'net472'">
|
|
<ProjectReference Include="../../Dapper.EntityFramework/Dapper.EntityFramework.csproj" />
|
|
<Reference Include="System.Data.Linq" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Conditionals make the tooling go crazy...just include them for this test project -->
|
|
<Content Include="$(NuGetPackageRoot)\microsoft.sqlserver.types\14.0.1016.290\nativeBinaries\**\*.dll" CopyToOutputDirectory="PreserveNewest" />
|
|
<None Remove="Test.DB.sdf" />
|
|
|
|
<None Update="xunit.runner.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
</Project>
|