diff --git a/.gitignore b/.gitignore index 4edc20f07e412b7b88d4e0369ef4a9e3a3178f6f..f4846478f46aab6a53293e49dbe1bda60c8daa20 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ NuGet.exe Test.DB.* TestResults/ Dapper.Tests/*.sdf +Dapper.Tests/SqlServerTypes/ .dotnet/* \ No newline at end of file diff --git a/Dapper.Tests/Dapper.Tests.csproj b/Dapper.Tests/Dapper.Tests.csproj index 79839ceb347c111dcfa05f5a5513be13253ce79c..aa10728c17f2da51982087f13c36e15d30dc324e 100644 --- a/Dapper.Tests/Dapper.Tests.csproj +++ b/Dapper.Tests/Dapper.Tests.csproj @@ -57,10 +57,10 @@ - if not exist "$(TargetDir)x86" md "$(TargetDir)x86" - xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x86\*.*" "$(TargetDir)x86" - if not exist "$(TargetDir)x64" md "$(TargetDir)x64" - xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x64\*.*" "$(TargetDir)x64" + if not exist "$(MSBuildProjectDirectory)\SqlServerTypes\x86" md "$(MSBuildProjectDirectory)\SqlServerTypes\x86" + xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x86\*.*" "$(MSBuildProjectDirectory)\SqlServerTypes\x86" + if not exist "$(MSBuildProjectDirectory)\SqlServerTypes\x64" md "$(MSBuildProjectDirectory)\SqlServerTypes\x64" + xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x64\*.*" "$(MSBuildProjectDirectory)\SqlServerTypes\x64"