Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 6a07efd

Browse files
committed
Update Sqlite on NuGet
1 parent d66068e commit 6a07efd

20 files changed

+67
-19
lines changed

src/ServiceStack.OrmLite.Sqlite32/ServiceStack.OrmLite.Sqlite32.csproj

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@
3838
</Reference>
3939
<Reference Include="System" />
4040
<Reference Include="System.Core" />
41-
<Reference Include="System.Data.SQLite, Version=1.0.86.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
42-
<SpecificVersion>False</SpecificVersion>
43-
<HintPath>..\packages\System.Data.SQLite.x86.1.0.86.0\lib\net20\System.Data.SQLite.dll</HintPath>
41+
<Reference Include="System.Data.SQLite">
42+
<HintPath>..\packages\System.Data.SQLite.1.0.88.0\lib\net20\System.Data.SQLite.dll</HintPath>
4443
</Reference>
45-
<Reference Include="System.Data.SQLite.Linq, Version=1.0.86.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
46-
<SpecificVersion>False</SpecificVersion>
47-
<HintPath>..\packages\System.Data.SQLite.x86.1.0.86.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
44+
<Reference Include="System.Data.SQLite.Linq">
45+
<HintPath>..\packages\System.Data.SQLite.1.0.88.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
4846
</Reference>
4947
<Reference Include="System.Xml.Linq" />
5048
<Reference Include="System.Data.DataSetExtensions" />
@@ -72,7 +70,17 @@
7270
</ProjectReference>
7371
</ItemGroup>
7472
<ItemGroup>
75-
<None Include="packages.config" />
73+
<None Include="packages.config">
74+
<SubType>Designer</SubType>
75+
</None>
76+
</ItemGroup>
77+
<ItemGroup>
78+
<Content Include="x64\SQLite.Interop.dll">
79+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
80+
</Content>
81+
<Content Include="x86\SQLite.Interop.dll">
82+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
83+
</Content>
7684
</ItemGroup>
7785
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7886
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

src/ServiceStack.OrmLite.Sqlite32/ServiceStack.OrmLite.Sqlite32v40.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
<Reference Include="System" />
4141
<Reference Include="System.Core" />
4242
<Reference Include="System.Data.SQLite">
43-
<HintPath>..\packages\System.Data.SQLite.x86.1.0.86.0\lib\net40\System.Data.SQLite.dll</HintPath>
43+
<HintPath>..\packages\System.Data.SQLite.1.0.88.0\lib\net40\System.Data.SQLite.dll</HintPath>
4444
</Reference>
4545
<Reference Include="System.Data.SQLite.Linq">
46-
<HintPath>..\packages\System.Data.SQLite.x86.1.0.86.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
46+
<HintPath>..\packages\System.Data.SQLite.1.0.88.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
4747
</Reference>
4848
<Reference Include="System.Xml.Linq" />
4949
<Reference Include="System.Data.DataSetExtensions" />
@@ -70,6 +70,9 @@
7070
<Name>ServiceStack.OrmLite</Name>
7171
</ProjectReference>
7272
</ItemGroup>
73+
<ItemGroup>
74+
<None Include="packages.config" />
75+
</ItemGroup>
7376
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7477
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7578
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="System.Data.SQLite.x86" version="1.0.88.0" targetFramework="net35" />
3+
<package id="System.Data.SQLite" version="1.0.88.0" targetFramework="net40" />
44
</packages>
Binary file not shown.
Binary file not shown.

src/ServiceStack.OrmLite.Sqlite64/ServiceStack.OrmLite.Sqlite64.csproj

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
</Reference>
3838
<Reference Include="System" />
3939
<Reference Include="System.Core" />
40-
<Reference Include="System.Data.SQLite, Version=1.0.86.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
40+
<Reference Include="System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
4141
<SpecificVersion>False</SpecificVersion>
42-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.86.0\lib\net20\System.Data.SQLite.dll</HintPath>
42+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.88.0\lib\net20\System.Data.SQLite.dll</HintPath>
4343
</Reference>
44-
<Reference Include="System.Data.SQLite.Linq, Version=1.0.86.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
44+
<Reference Include="System.Data.SQLite.Linq, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
4545
<SpecificVersion>False</SpecificVersion>
46-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.86.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
46+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.88.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
4747
</Reference>
4848
<Reference Include="System.Xml.Linq" />
4949
<Reference Include="System.Data.DataSetExtensions" />
@@ -71,9 +71,7 @@
7171
</ProjectReference>
7272
</ItemGroup>
7373
<ItemGroup>
74-
<None Include="packages.config">
75-
<SubType>Designer</SubType>
76-
</None>
74+
<None Include="packages.config" />
7775
</ItemGroup>
7876
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7977
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

src/ServiceStack.OrmLite.Sqlite64/ServiceStack.OrmLite.Sqlite64v40.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
<Reference Include="System" />
4040
<Reference Include="System.Core" />
4141
<Reference Include="System.Data.SQLite">
42-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.86.0\lib\net40\System.Data.SQLite.dll</HintPath>
42+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.88.0\lib\net40\System.Data.SQLite.dll</HintPath>
4343
</Reference>
4444
<Reference Include="System.Data.SQLite.Linq">
45-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.86.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
45+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.88.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
4646
</Reference>
4747
<Reference Include="System.Xml.Linq" />
4848
<Reference Include="System.Data.DataSetExtensions" />
@@ -69,6 +69,9 @@
6969
<Name>ServiceStack.OrmLite</Name>
7070
</ProjectReference>
7171
</ItemGroup>
72+
<ItemGroup>
73+
<None Include="packages.config" />
74+
</ItemGroup>
7275
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7376
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7477
Other similar extension points exist, see Microsoft.Common.targets.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
###############################################################################
2+
#
3+
# install.ps1 --
4+
#
5+
# Written by Joe Mistachkin.
6+
# Released to the public domain, use at your own risk!
7+
#
8+
###############################################################################
9+
10+
param($installPath, $toolsPath, $package, $project)
11+
12+
$platformNames = "x86", "x64"
13+
$fileName = "SQLite.Interop.dll"
14+
$propertyName = "CopyToOutputDirectory"
15+
16+
foreach($platformName in $platformNames) {
17+
$folder = $project.ProjectItems.Item($platformName)
18+
19+
if ($folder -eq $null) {
20+
continue
21+
}
22+
23+
$item = $folder.ProjectItems.Item($fileName)
24+
25+
if ($item -eq $null) {
26+
continue
27+
}
28+
29+
$property = $item.Properties.Item($propertyName)
30+
31+
if ($property -eq $null) {
32+
continue
33+
}
34+
35+
$property.Value = 1
36+
}

0 commit comments

Comments
 (0)