Dapper.Contrib icon indicating copy to clipboard operation
Dapper.Contrib copied to clipboard

Errors testing Dapper.Contrib when used with the Dapper.StrongName pacakge.

Open ATECoder opened this issue 4 years ago • 0 comments

Using Dapper.Config with Dapper.StrongName causes the following error in Dapper.Tests.Config

CS0121 The call is ambiguous between the following methods or properties: 'Dapper.SqlMapper.QueryAsync<T>(System.Data.IDbConnection, string, object, System.Data.IDbTransaction, int?, System.Data.CommandType?)' and 'Dapper.SqlMapper.QueryAsync<T>(System.Data.IDbConnection, string, object, System.Data.IDbTransaction, int?, System.Data.CommandType?)' Dapper.Tests.Contrib (netcoreapp3.1) C:\Pub\Pulls\Dapper\Dapper.Contrib\tests\Dapper.Tests.Contrib\TestSuite.Async.cs 107 Active

Removing the Dapper.SqlBuilder from Dapper.Tests.Config brings up the following error:

CS0246 The type or namespace name 'SqlBuilder' could not be found (are you missing a using directive or an assembly reference?) Dapper.Tests.Contrib (netcoreapp3.1) C:\Pub\Pulls\Dapper\Dapper.Contrib\tests\Dapper.Tests.Contrib\TestSuite.Async.cs 238 Active

ATECoder avatar Jun 08 '21 23:06 ATECoder