fixed sql lite x64/x86 issue

This commit is contained in:
Keivan 2010-09-29 18:39:25 -07:00
parent 26c03d7162
commit 27164d422c
3 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite" />
<add name="SQLite Data Provider" invariant="System.Data.SQLite"
description=".Net Framework Data Provider for SQLite"
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
</DbProviderFactories>
</system.data>
</configuration>

Binary file not shown.

View File

@ -56,7 +56,7 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Data.SQLite">
<HintPath>..\NzbDrone.Core\Libraries\System.Data.SQLite.dll</HintPath>
<HintPath>Libs\System.Data.SQLite.DLL</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
@ -98,8 +98,13 @@
<Content Include="Files\QueueError.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Libs\System.Data.SQLite.DLL" />
</ItemGroup>
<ItemGroup>
<None Include="App.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.