mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 00:07:07 +00:00
fixed sql lite x64/x86 issue
This commit is contained in:
parent
26c03d7162
commit
27164d422c
3 changed files with 18 additions and 2 deletions
11
NzbDrone.Core.Test/App.config
Normal file
11
NzbDrone.Core.Test/App.config
Normal 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>
|
BIN
NzbDrone.Core.Test/Libs/System.Data.SQLite.DLL
Normal file
BIN
NzbDrone.Core.Test/Libs/System.Data.SQLite.DLL
Normal file
Binary file not shown.
|
@ -56,7 +56,7 @@
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data.SQLite">
|
<Reference Include="System.Data.SQLite">
|
||||||
<HintPath>..\NzbDrone.Core\Libraries\System.Data.SQLite.dll</HintPath>
|
<HintPath>Libs\System.Data.SQLite.DLL</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
@ -98,8 +98,13 @@
|
||||||
<Content Include="Files\QueueError.xml">
|
<Content Include="Files\QueueError.xml">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Libs\System.Data.SQLite.DLL" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|
Loading…
Reference in a new issue