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 ...@@ -16,4 +16,5 @@ NuGet.exe
Test.DB.* Test.DB.*
TestResults/ TestResults/
Dapper.Tests/*.sdf Dapper.Tests/*.sdf
Dapper.Tests/SqlServerTypes/
.dotnet/* .dotnet/*
\ No newline at end of file
...@@ -57,10 +57,10 @@ ...@@ -57,10 +57,10 @@
<PropertyGroup> <PropertyGroup>
<PostBuildEvent> <PostBuildEvent>
if not exist "$(TargetDir)x86" md "$(TargetDir)x86" if not exist "$(MSBuildProjectDirectory)\SqlServerTypes\x86" md "$(MSBuildProjectDirectory)\SqlServerTypes\x86"
xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x86\*.*" "$(TargetDir)x86" xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x86\*.*" "$(MSBuildProjectDirectory)\SqlServerTypes\x86"
if not exist "$(TargetDir)x64" md "$(TargetDir)x64" if not exist "$(MSBuildProjectDirectory)\SqlServerTypes\x64" md "$(MSBuildProjectDirectory)\SqlServerTypes\x64"
xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x64\*.*" "$(TargetDir)x64" xcopy /s /y /q "$(NuGetPackageRoot)\Microsoft.SqlServer.Types\14.0.314.76\NativeBinaries\x64\*.*" "$(MSBuildProjectDirectory)\SqlServerTypes\x64"
</PostBuildEvent> </PostBuildEvent>
</PropertyGroup> </PropertyGroup>
</Project> </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