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

Commit 7a6c645

Browse files
committed
re-add NuGet refs for x32/x64 sqlite
1 parent efc986c commit 7a6c645

17 files changed

+23
-36
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extracting them from the published NuGet packages. The url to download a nuget p
5050

5151
So to get the OrmLite MySQL provider in OSX/Linux (or using gnu tools for Windows) you can just do:
5252

53-
wget -O OrmLite.MySql.zip http://packages.nuget.org/api/v1/package/ServiceStack.OrmLite.MySql/3.9.40
53+
wget -O OrmLite.MySql.zip http://packages.nuget.org/api/v1/package/ServiceStack.OrmLite.MySql/3.9.42
5454
unzip OrmLite.MySql.zip 'lib/*'
5555

5656
which will download and extract the dlls into your local local `lib/` folder.
@@ -93,7 +93,7 @@ Apart from a slight performance increase, parameterized API's now lets you inser
9393

9494
## New API's to execute custom SQL
9595

96-
Prior to v3.9.40 the ways to execute custom SQL was with `db.ExecuteSql()` which as it only returned an int code, users were using `db.Query` to read arbitrary sql returning tabular resultsets. However db.Query is only intended for SELECT statements. For this purpose we've introduced new API's for executing custom sql, e.g:
96+
Prior to v3.9.42 the ways to execute custom SQL was with `db.ExecuteSql()` which as it only returned an int code, users were using `db.Query` to read arbitrary sql returning tabular resultsets. However db.Query is only intended for SELECT statements. For this purpose we've introduced new API's for executing custom sql, e.g:
9797

9898
```csharp
9999
List<Poco> results = db.SqlList<Poco>("EXEC GetAnalyticsForWeek 1");

build/build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ COPY ..\lib\x64\net35\System.Data.SQLite.dll ..\..\ServiceStack\release\latest\
4242
COPY ..\lib\x64\net40\System.Data.SQLite.dll ..\..\ServiceStack\release\latest\ServiceStack.OrmLite\x64\net40
4343

4444
COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.* ..\..\ServiceStack\lib
45+
COPY ..\src\ServiceStack.OrmLite.Sqlite64\bin\%BUILD%\ServiceStack.OrmLite.Sqlite* ..\..\ServiceStack\lib\x64
4546
COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.* ..\..\ServiceStack\lib
4647

4748
COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.* ..\..\ServiceStack.Examples\lib

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,6 @@
6868
<Name>ServiceStack.OrmLite</Name>
6969
</ProjectReference>
7070
</ItemGroup>
71-
<ItemGroup>
72-
<Content Include="x64\SQLite.Interop.dll">
73-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
74-
</Content>
75-
<Content Include="x86\SQLite.Interop.dll">
76-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
77-
</Content>
78-
</ItemGroup>
7971
<ItemGroup>
8072
<None Include="packages.config" />
8173
</ItemGroup>

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

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@
3939
</Reference>
4040
<Reference Include="System" />
4141
<Reference Include="System.Core" />
42-
<Reference Include="System.Data.SQLite, Version=1.0.82.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
42+
<Reference Include="System.Data.SQLite, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
4343
<SpecificVersion>False</SpecificVersion>
44-
<HintPath>..\packages\System.Data.SQLite.1.0.82.0\lib\net20\System.Data.SQLite.dll</HintPath>
44+
<HintPath>..\packages\System.Data.SQLite.x86.1.0.84.0\lib\net40\System.Data.SQLite.dll</HintPath>
4545
</Reference>
46-
<Reference Include="System.Data.SQLite.Linq">
47-
<HintPath>..\packages\System.Data.SQLite.1.0.82.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
46+
<Reference Include="System.Data.SQLite.Linq, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
47+
<SpecificVersion>False</SpecificVersion>
48+
<HintPath>..\packages\System.Data.SQLite.x86.1.0.84.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
4849
</Reference>
4950
<Reference Include="System.Xml.Linq" />
5051
<Reference Include="System.Data.DataSetExtensions" />
@@ -68,14 +69,6 @@
6869
<Name>ServiceStack.OrmLite</Name>
6970
</ProjectReference>
7071
</ItemGroup>
71-
<ItemGroup>
72-
<Content Include="x64\SQLite.Interop.dll">
73-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
74-
</Content>
75-
<Content Include="x86\SQLite.Interop.dll">
76-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
77-
</Content>
78-
</ItemGroup>
7972
<ItemGroup>
8073
<None Include="packages.config" />
8174
</ItemGroup>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="System.Data.SQLite" version="1.0.84.0" targetFramework="net35" />
4-
<package id="System.Data.SQLite.x86" version="1.0.84.0" targetFramework="net35" />
3+
<package id="System.Data.SQLite.x86" version="1.0.84.0" targetFramework="net40" />
54
</packages>
Binary file not shown.
Binary file not shown.

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@
3737
</Reference>
3838
<Reference Include="System" />
3939
<Reference Include="System.Core" />
40-
<Reference Include="System.Data.SQLite, Version=1.0.82.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
40+
<Reference Include="System.Data.SQLite, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
4141
<SpecificVersion>False</SpecificVersion>
42-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.82.0\lib\net20\System.Data.SQLite.dll</HintPath>
42+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.84.0\lib\net20\System.Data.SQLite.dll</HintPath>
4343
</Reference>
44-
<Reference Include="System.Data.SQLite.Linq">
45-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.82.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
44+
<Reference Include="System.Data.SQLite.Linq, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
45+
<SpecificVersion>False</SpecificVersion>
46+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.84.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
4647
</Reference>
4748
<Reference Include="System.Xml.Linq" />
4849
<Reference Include="System.Data.DataSetExtensions" />

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@
3838
</Reference>
3939
<Reference Include="System" />
4040
<Reference Include="System.Core" />
41-
<Reference Include="System.Data.SQLite, Version=1.0.82.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
41+
<Reference Include="System.Data.SQLite, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
4242
<SpecificVersion>False</SpecificVersion>
43-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.82.0\lib\net20\System.Data.SQLite.dll</HintPath>
43+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.84.0\lib\net40\System.Data.SQLite.dll</HintPath>
4444
</Reference>
45-
<Reference Include="System.Data.SQLite.Linq">
46-
<HintPath>..\packages\System.Data.SQLite.x64.1.0.82.0\lib\net20\System.Data.SQLite.Linq.dll</HintPath>
45+
<Reference Include="System.Data.SQLite.Linq, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
46+
<SpecificVersion>False</SpecificVersion>
47+
<HintPath>..\packages\System.Data.SQLite.x64.1.0.84.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
4748
</Reference>
4849
<Reference Include="System.Xml.Linq" />
4950
<Reference Include="System.Data.DataSetExtensions" />
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<packages>
3-
<package id="System.Data.SQLite.x64" version="1.0.84.0" targetFramework="net35" />
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="System.Data.SQLite.x64" version="1.0.84.0" targetFramework="net40" />
44
</packages>

0 commit comments

Comments
 (0)