Commit 15c9e35a authored by Nick Craver's avatar Nick Craver

Fix type loads for the builds without SQL in the GAC

parent a83e0a77
......@@ -16,4 +16,5 @@ NuGet.exe
Test.DB.*
TestResults/
Dapper.Tests/*.sdf
Dapper.Tests/SqlServerTypes/
.dotnet/*
\ No newline at end of file
......@@ -57,10 +57,10 @@
<PropertyGroup>
<PostBuildEvent>
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"
</PostBuildEvent>
</PropertyGroup>
</Project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment