mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-18 14:27:47 +08:00
d7c16035d2
in horizontal multi-map, don't "returnValueLocal = null" for value-types (invalid IL) fix #2005
46 lines
2.2 KiB
XML
46 lines
2.2 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>
|
|
</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="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>
|