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

Commit 8d706f3

Browse files
committed
Add .NET 4.5 build of Sqlite.Mono
1 parent 4806235 commit 8d706f3

File tree

6 files changed

+505
-0
lines changed

6 files changed

+505
-0
lines changed

build/build.proj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@
102102

103103
<SqliteMonoFiles Include="$(SrcDir)/ServiceStack.OrmLite.Sqlite/bin/$(Configuration)/ServiceStack.OrmLite.Sqlite.*"></SqliteMonoFiles>
104104
<SqliteMonoFiles Include="$(LibDir)/Mono.Data.Sqlite.dll"></SqliteMonoFiles>
105+
<SqliteMonoFilesV45 Include="$(SrcDir)/ServiceStack.OrmLite.SqliteV45/bin/$(Configuration)/ServiceStack.OrmLite.Sqlite.*"></SqliteMonoFilesV45>
106+
<SqliteMonoFilesV45 Include="$(LibDir)/Mono.Data.Sqlite.dll"></SqliteMonoFilesV45>
105107
<SqliteMonoContentFiles Include="$(LibDir)/sqlite3.dll"></SqliteMonoContentFiles>
106108

107109
<SqlServerFiles Include="$(SrcDir)/ServiceStack.OrmLite.SqlServer/bin/$(Configuration)/ServiceStack.OrmLite.SqlServer.*"></SqlServerFiles>
@@ -186,6 +188,15 @@
186188
<MakeDir Directories="$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/lib/net40')" />
187189
<Copy SourceFiles="%(SqliteMonoFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/lib/net40" />
188190

191+
<!-- Sqlite Mono/.NET 4.5 -->
192+
<MSBuild Projects="$(SrcDir)/ServiceStack.OrmLite.Sqlite/ServiceStack.OrmLite.SqliteV45.csproj"
193+
Targets="Build"
194+
Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
195+
196+
<MakeDir Directories="$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/lib/net45')" />
197+
<Copy SourceFiles="%(SqliteMonoFilesV45.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/lib/net45" />
198+
199+
189200
<MakeDir Directories="$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/content" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/content')" />
190201
<Copy SourceFiles="%(SqliteMonoContentFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.OrmLite.Sqlite.Mono/content" />
191202

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ServiceStack.OrmLite.Sqlite</RootNamespace>
11+
<AssemblyName>ServiceStack.OrmLite.Sqlite</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\Debug\</OutputPath>
20+
<DefineConstants>DEBUG;TRACE</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>pdbonly</DebugType>
26+
<Optimize>true</Optimize>
27+
<OutputPath>bin\Release\</OutputPath>
28+
<DefineConstants>TRACE;NET45</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<Reference Include="Mono.Data.Sqlite">
34+
<HintPath>..\..\..\ServiceStack\lib\Mono.Data.Sqlite.dll</HintPath>
35+
</Reference>
36+
<Reference Include="ServiceStack.Common">
37+
<HintPath>..\..\..\ServiceStack\lib\ServiceStack.Common.dll</HintPath>
38+
</Reference>
39+
<Reference Include="ServiceStack.Interfaces">
40+
<HintPath>..\..\..\ServiceStack\lib\ServiceStack.Interfaces.dll</HintPath>
41+
</Reference>
42+
<Reference Include="ServiceStack.Text">
43+
<HintPath>..\..\..\ServiceStack\lib\ServiceStack.Text.dll</HintPath>
44+
</Reference>
45+
<Reference Include="System" />
46+
<Reference Include="System.Core" />
47+
<Reference Include="System.Xml.Linq" />
48+
<Reference Include="System.Data.DataSetExtensions" />
49+
<Reference Include="Microsoft.CSharp" />
50+
<Reference Include="System.Data" />
51+
<Reference Include="System.Xml" />
52+
</ItemGroup>
53+
<ItemGroup>
54+
<Compile Include="..\ServiceStack.OrmLite.Sqlite\Properties\AssemblyInfo.cs">
55+
<Link>AssemblyInfo.cs</Link>
56+
</Compile>
57+
<Compile Include="..\ServiceStack.OrmLite.Sqlite\SqliteDialect.cs">
58+
<Link>SqliteDialect.cs</Link>
59+
</Compile>
60+
<Compile Include="..\ServiceStack.OrmLite.Sqlite\SqliteExpression.cs">
61+
<Link>SqliteExpression.cs</Link>
62+
</Compile>
63+
<Compile Include="..\ServiceStack.OrmLite.Sqlite\SqliteOrmLiteDialectProvider.cs">
64+
<Link>SqliteOrmLiteDialectProvider.cs</Link>
65+
</Compile>
66+
<Compile Include="..\ServiceStack.OrmLite.Sqlite\SqliteOrmLiteDialectProviderBase.cs">
67+
<Link>SqliteOrmLiteDialectProviderBase.cs</Link>
68+
</Compile>
69+
</ItemGroup>
70+
<ItemGroup>
71+
<Folder Include="Properties\" />
72+
</ItemGroup>
73+
<ItemGroup>
74+
<Content Include="..\..\lib\sqlite3.dll">
75+
<Link>sqlite3.dll</Link>
76+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
77+
</Content>
78+
</ItemGroup>
79+
<ItemGroup>
80+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
81+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
82+
<Name>ServiceStack.OrmLiteV45</Name>
83+
</ProjectReference>
84+
</ItemGroup>
85+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
86+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
87+
Other similar extension points exist, see Microsoft.Common.targets.
88+
<Target Name="BeforeBuild">
89+
</Target>
90+
<Target Name="AfterBuild">
91+
</Target>
92+
-->
93+
</Project>

src/ServiceStack.OrmLite.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.MySqlV
127127
EndProject
128128
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.SqlServerV45", "ServiceStack.OrmLite.SqlServerV45\ServiceStack.OrmLite.SqlServerV45.csproj", "{6F851563-08F6-4692-89F8-F1D6C86F0069}"
129129
EndProject
130+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.SqliteV45", "ServiceStack.OrmLite.SqliteV45\ServiceStack.OrmLite.SqliteV45.csproj", "{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}"
131+
EndProject
130132
Global
131133
GlobalSection(SolutionConfigurationPlatforms) = preSolution
132134
Debug|Any CPU = Debug|Any CPU
@@ -977,6 +979,26 @@ Global
977979
{6F851563-08F6-4692-89F8-F1D6C86F0069}.Signed|Mixed Platforms.ActiveCfg = Signed|Any CPU
978980
{6F851563-08F6-4692-89F8-F1D6C86F0069}.Signed|Mixed Platforms.Build.0 = Signed|Any CPU
979981
{6F851563-08F6-4692-89F8-F1D6C86F0069}.Signed|x86.ActiveCfg = Release|Any CPU
982+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
983+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Debug|Any CPU.Build.0 = Debug|Any CPU
984+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
985+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
986+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Debug|x86.ActiveCfg = Debug|Any CPU
987+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Default|Any CPU.ActiveCfg = Debug|Any CPU
988+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Default|Any CPU.Build.0 = Debug|Any CPU
989+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Default|Mixed Platforms.ActiveCfg = Debug|Any CPU
990+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Default|Mixed Platforms.Build.0 = Debug|Any CPU
991+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Default|x86.ActiveCfg = Debug|Any CPU
992+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Release|Any CPU.ActiveCfg = Release|Any CPU
993+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Release|Any CPU.Build.0 = Release|Any CPU
994+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
995+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Release|Mixed Platforms.Build.0 = Release|Any CPU
996+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Release|x86.ActiveCfg = Release|Any CPU
997+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Signed|Any CPU.ActiveCfg = Release|Any CPU
998+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Signed|Any CPU.Build.0 = Release|Any CPU
999+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Signed|Mixed Platforms.ActiveCfg = Release|Any CPU
1000+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Signed|Mixed Platforms.Build.0 = Release|Any CPU
1001+
{30C0C876-ABCB-441B-BFD4-AA9F688D9E54}.Signed|x86.ActiveCfg = Release|Any CPU
9801002
EndGlobalSection
9811003
GlobalSection(SolutionProperties) = preSolution
9821004
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)