Make sure that only the correct DLL is being used

This commit is contained in:
Matt Nadareski
2016-04-29 13:43:01 -07:00
parent e69e7ad0ab
commit c0ab4ef410

View File

@@ -171,6 +171,10 @@
<Error Condition="!Exists('..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them." />
<Error Condition="Exists('..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build." />
</Target>
<PropertyGroup>
<PostBuildEvent>if $(PlatformName) == x64 move sqlite3-x64.dll sqlite3.dll
if $(PlatformName) == AnyCPU del /f /q sqlite3-x64.dll</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">