Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
f98b828
Delete some monotouch example code
oysteinkrog Sep 25, 2013
8c5eb6e
Add SQLite.Net project and move sqlite files into it
oysteinkrog Sep 25, 2013
8dcb484
Add nunit nuget to the tests project
oysteinkrog Sep 25, 2013
a087b05
Split types into files
oysteinkrog Sep 25, 2013
ed94559
Organize project a bit (move class into subfolders)
oysteinkrog Sep 25, 2013
48193a8
Create proxy types for Sqlite3DatabaseHandle and Sqlite3Statement, pa…
oysteinkrog Sep 26, 2013
bb165ab
Rename ISqlite3DatabaseHandle to IDbHandle
oysteinkrog Sep 30, 2013
7148872
Rename ISqlite3Statement to IDbStatement and ISqlite3DatabaseHandle t…
oysteinkrog Sep 30, 2013
fcd8d1e
Add resharper settings file
oysteinkrog Sep 30, 2013
786c392
Fix namespace in all files
oysteinkrog Sep 30, 2013
94a9e8d
Move async functionality from main project into new project SQLite.Ne…
oysteinkrog Sep 30, 2013
7449f08
Fix namespaces
oysteinkrog Sep 30, 2013
b124ed7
Update readme with project goals (fork)
oysteinkrog Sep 30, 2013
ea16cf1
Fix namespace of attributes
oysteinkrog Sep 30, 2013
94b58de
Update resharper settings with some more abbreviations
oysteinkrog Sep 30, 2013
1d0bbb8
Large refactoring, convert main SQLite.Net projects to PCL and move a…
oysteinkrog Sep 30, 2013
8aeffd3
Set some basic resharper setting (among them 160 line width)
oysteinkrog Sep 30, 2013
e45c3e7
Cleanup all code (resharper reformat)
oysteinkrog Sep 30, 2013
12ecb20
Fix casing of type/file
oysteinkrog Sep 30, 2013
536ab81
Correct the "ToolsVersion" for many projects (fixes compatibility wit…
oysteinkrog Oct 1, 2013
2357bb2
Convert SQLite.Net.Async project to PCL
oysteinkrog Oct 1, 2013
9fc0b76
Add XamarinIOS (monotouch) platform
oysteinkrog Oct 1, 2013
1197d94
Refactor SQLiteAsyncConnection to take a Func<SQLiteConnectionWithLoc…
oysteinkrog Oct 2, 2013
157ad1b
Add some missing methods in SQLiteAsyncConnection (DeleteAsync<T> and…
oysteinkrog Oct 2, 2013
a1849db
Fixed a bug with nullable enum types.
oysteinkrog Oct 3, 2013
348de35
Add support for specifying an explicit TaskScheduler in SQLiteAsyncCo…
oysteinkrog Oct 3, 2013
9748b03
Update resharper settings, add "PK" as legal abbreviation
oysteinkrog Oct 4, 2013
55068fc
Enable nuget package restore
oysteinkrog Oct 4, 2013
892d25d
Add SQLite.Net.Platform.XamarinAndroid
oysteinkrog Oct 4, 2013
03120f7
Fix compiler warnings (primarily xml doc errors)
oysteinkrog Oct 4, 2013
fbb1a24
Add SQLite.Net.Platform.WindowsPhone71
oysteinkrog Oct 4, 2013
ec8ca04
Add a LICENSE.txt and update the readme with licensing information
oysteinkrog Oct 4, 2013
6147391
Reformat (resharper)
oysteinkrog Oct 5, 2013
f04e7e1
Update reshaper settings, add "IOS" as legal abbreviation
oysteinkrog Oct 5, 2013
f28482a
Code issues cleanup, fix "Inconsistent Naming" of generic parameters
oysteinkrog Oct 5, 2013
b5be6ab
Update resharper settings, add "OK" and "IO" as legal abbreviations
oysteinkrog Oct 5, 2013
7a68c80
Update resharper settings, enable "Wrap long lines"
oysteinkrog Oct 5, 2013
0b41094
Update resharper settings and reformat, always wrap object/collection…
oysteinkrog Oct 5, 2013
c47860f
Update resharper settings and reformat, always add braces (e.g. if-st…
oysteinkrog Oct 5, 2013
09607b9
Disable broken test (was broken in the original project and seems to …
oysteinkrog Oct 6, 2013
56a9aa2
Update license file to include me
oysteinkrog Oct 13, 2013
37b80c4
Rename solution files to match new project name (SQLite.Net)
oysteinkrog Oct 13, 2013
2b3abb2
Update readme with new project name
oysteinkrog Oct 13, 2013
c4d0ab7
Delete old/unused files
oysteinkrog Oct 13, 2013
6ef423d
Add/fix the stock win32/console example application
oysteinkrog Oct 13, 2013
724ca27
Delete the "StocksImplicit" example app, seems to be a duplicate of t…
oysteinkrog Oct 13, 2013
259307e
Enable nuget package restore
oysteinkrog Oct 13, 2013
701cfd8
Change SQLite.Net project PCL profile from profile136 to profile2 (nu…
oysteinkrog Oct 13, 2013
b36cf38
Change SQLite.Net.Async PCL profile from profile136 to profile88 (por…
oysteinkrog Oct 13, 2013
1b06f0f
Update/fix assemblyinfo for all projects, include GlobalAssemblyInfo.…
oysteinkrog Oct 13, 2013
e982054
Improve nuget package tooling and update/add nuspec files
oysteinkrog Oct 13, 2013
30685a0
Misc fixes to nuspec files (fix nuget install in monotouch/monoandroi…
oysteinkrog Oct 13, 2013
4553421
Convert SQLite.Net.Async back to profile 136 (which has task/async as…
oysteinkrog Oct 15, 2013
f71ae62
Bump version to 2.0.2
oysteinkrog Oct 15, 2013
d660cca
Update nuget package descriptions
oysteinkrog Oct 18, 2013
3378624
Update README.mdown
oysteinkrog Dec 10, 2013
ad218a2
Updated SQLiteApiWP8 to use sqlite-net-wp8
ncipollina Feb 7, 2014
e9f6acb
Merge pull request #2 from ncipollina/master
oysteinkrog Feb 9, 2014
2f8ffd0
Unify the WP8 platform projects (remove csharp-based sqlite platform …
oysteinkrog Feb 9, 2014
d7f7537
Add nuget spec etc for WindowsPhone8 platform project/nuget
oysteinkrog Feb 9, 2014
1336d16
Modify async code to improve task/scheduler default behavior.
oysteinkrog Jan 22, 2014
d4ecce8
Merge pull request #3 from InitialForce/master
oysteinkrog Feb 9, 2014
523e126
Remove use of TaskCreationOptions.DenyChildAttach (not available)
oysteinkrog Feb 9, 2014
030a491
Fix bug where SQlite.Net.Platform.XamarinAndroid did not include Glob…
oysteinkrog Feb 9, 2014
0ed81f7
Bump version to 2.1
oysteinkrog Feb 9, 2014
0ba2da6
Update README.mdown
oysteinkrog Feb 11, 2014
cca7189
Update README.mdown
oysteinkrog Feb 11, 2014
8bb54bf
Implemented SQLiteApiWinRT.
ncipollina Feb 19, 2014
848dd94
Merge pull request #5 from ncipollina/master
oysteinkrog Feb 19, 2014
5c9fac9
Add WinRT Nuget package
micahl Feb 20, 2014
ce66a32
Set platform target to x86 to fix build errors when an 'AnyCPU' confi…
micahl Feb 21, 2014
650e887
Make this build as AnyCPU by removing references to the Extension SDKs
micahl Feb 23, 2014
172eb80
Fix the WinRT package and add dependency on SQLite-WinRT-redist
micahl Feb 23, 2014
f0075ef
Update ID of dependency
micahl Feb 25, 2014
b1206a5
Merge pull request #6 from micahl/master
oysteinkrog Feb 26, 2014
309cfa7
Update readme and nuspecs to give credits to contributors
oysteinkrog Feb 25, 2014
afca5ee
Delete WindowsPhone71 platform package, not supported any more.
oysteinkrog Feb 26, 2014
06bd09c
Remove references to old/deleted projects in solution file
oysteinkrog Feb 26, 2014
17ae15a
Fix oops in SQLiteAsyncConnection
oysteinkrog Feb 26, 2014
fa874fa
Expose the ISQLitePlatform in SQLiteConnection
oysteinkrog Feb 26, 2014
9a99dcd
Update NUnit nuget to 2.6.3
oysteinkrog Mar 6, 2014
31d610d
Rewrite all async to use await instead of .Wait()/.Result
oysteinkrog Mar 6, 2014
eebff86
SQliteApiWin32Internal fails to load the interop library when the cur…
ichiohta Mar 7, 2014
6ba5f3b
Merge pull request #8 from ichiohta/locateinterop
oysteinkrog Mar 8, 2014
3890226
Fix SQLiteApiWin32Internal native library loading so it works for uni…
oysteinkrog Mar 8, 2014
7134f4a
Add support to ToUpper()
fcy Mar 19, 2013
108e38b
Add new tests for TableQuery expression parsing, tests for ToLower an…
oysteinkrog Mar 8, 2014
d85649f
Adding support for TimeSpan, fixes praeclarum/sqlite-net#152
louy Mar 28, 2013
f7f0bc0
Add new tests for TimeSpan
oysteinkrog Mar 8, 2014
ac3cc45
Fix missing await
oysteinkrog Mar 8, 2014
c9f41b6
Update ReSharper settings
oysteinkrog Mar 22, 2014
0b8793e
Attempt to fix rare race/fail in async stress test
oysteinkrog Mar 22, 2014
9abd37c
Remove old unit-test projects
oysteinkrog Mar 22, 2014
a6795f7
Add new platform-specific test projects, uses file linking to shared …
oysteinkrog Mar 22, 2014
cd537bc
Modify tests to use platform-specific ISQLitePlatform implementations…
oysteinkrog Mar 22, 2014
c74a864
Update dependency to System.Data.SQLite Core
jdasilva Mar 25, 2014
829c923
Merge pull request #10 from jdasilva/sqlitecore
oysteinkrog Mar 25, 2014
ebeb76b
Provided a trace listener abstraction so that clients of the library …
kentcb Mar 26, 2014
0513c6f
Merge pull request #11 from kentcb/master
oysteinkrog Mar 27, 2014
d904b70
BLOB serializer support added
sami1971 Mar 27, 2014
02fe638
Bump version to 2.2
oysteinkrog Mar 30, 2014
922b313
Update nuspecs for 2.2 release
oysteinkrog Mar 30, 2014
eded738
Update platform tests projects with missing test file (BlobSerializat…
oysteinkrog Mar 30, 2014
1d58cb9
Fixes WP8 DB creation bug
Apr 8, 2014
caa536b
Merge pull request #13 from vladstoick/master
oysteinkrog Apr 8, 2014
c6e76f7
Fix target framework dir for Profile136
jamesottaway Apr 21, 2014
6bb2a5e
Merge pull request #17 from jamesottaway/nuspec-fix
oysteinkrog Apr 24, 2014
a787313
TableQuery.Clone becomes generic
tah9m9 May 7, 2014
5ac71c6
Added ThenBy* to TableQuery and AsyncTableQuery
tah9m9 May 7, 2014
419476b
Merge pull request #23 from tah9m9/master
oysteinkrog May 7, 2014
cf8c113
Update README.mdown
oysteinkrog May 7, 2014
98c00d9
Update README.mdown
oysteinkrog May 12, 2014
cf11670
Add InsertOrReplaceAllAsync() and related methods and tests Added th…
May 7, 2014
788f576
Merge pull request #26 from rudmer90/InsertOrReplaceAsync
oysteinkrog May 12, 2014
73e88f0
Consolidate DLL names in one place for Android/iOS.
kjeremy May 14, 2014
b960dba
Merge pull request #29 from kjeremy/consolidate_dll_names
oysteinkrog May 14, 2014
4b55dce
Clone the Xamarin platforms to make a generic one
jamesottaway Apr 15, 2014
4ba36bc
Prepare the tests for the new generic platform
jamesottaway Apr 15, 2014
f8c59d1
Link in the tests for the generic platform
jamesottaway Apr 15, 2014
a0b0a45
Configure SQLite.Net.Platform.Generic for NuGet
jamesottaway May 13, 2014
c442329
Merge pull request #18 from jamesottaway/mono-support
oysteinkrog May 20, 2014
9f6a182
Fix using statements in test file
oysteinkrog May 20, 2014
6d79a9b
Make WinRT test project define __WINRT__ symbol
oysteinkrog May 20, 2014
cfd640e
Update test files with define/using for WinRT platform
oysteinkrog May 20, 2014
3cf34cf
Update solution configurations to enable building of iOS projects whe…
oysteinkrog May 20, 2014
c48db22
Rewrite test so it works with NUnitLite (remove use of Assert.Contains)
oysteinkrog May 20, 2014
8dd5672
Serialize and deserialize all types, not just BLOBs
jamesottaway May 14, 2014
8f8b7d3
Link SerializableTest.cs into the platform-specific test projects
jamesottaway May 20, 2014
a1bf433
Fix error in SQLite.Net.Platform.Generic.nuspec
oysteinkrog May 21, 2014
8e660d8
Update README.mdown
oysteinkrog May 21, 2014
2051ba2
Fix versioning of SQLite.Net.Platform.Generic by linking GlobalAssemb…
oysteinkrog May 21, 2014
6c93ec5
Bump version to 2.3.0.0 and update release notes in nugets
oysteinkrog May 21, 2014
b71e20f
Add WindowsPhoneApp81 project
dbeattie71 May 24, 2014
621d5ba
Expose `GetConnection()` to subtypes
jamesottaway May 28, 2014
fb2ef82
Merge pull request #33 from jamesottaway/patch-1
oysteinkrog Jun 5, 2014
2f69161
Implement Initialize, Shutdown & Config
sudmanche Jun 9, 2014
f334abd
Merge pull request #39 from sudmanche/issue35
oysteinkrog Jun 9, 2014
623e10a
Fix oops in recently rewritten test
oysteinkrog Jun 9, 2014
addd489
Remove unnecessary Android permissions
oysteinkrog Jul 1, 2014
68e7e29
Merge pull request #32 from dbeattie71/master
oysteinkrog Jul 1, 2014
6ed1c02
Merge pull request #30 from jamesottaway/serializable
oysteinkrog Jul 1, 2014
9753bda
> Fixed the issue with non-ASCII characters in the db path (proper ov…
Jul 2, 2014
d3c8040
Merge pull request #44 from franiu/master
oysteinkrog Sep 8, 2014
9f51718
Switched to profile 259, adjusted some reflection code to make it work
Sep 21, 2014
83cad4a
Merge pull request #56 from flowpilots/master
oysteinkrog Sep 21, 2014
8b2f06f
Implement cancellation token support in most async methods. Patch exi…
IanMercer Sep 26, 2014
25512ac
Fix tabs introduced by Xamarin Studio, use spaces
IanMercer Sep 26, 2014
543b009
Fix enum deserialization failure caused by incorrect test for `IsEnum…
IanMercer Sep 26, 2014
5388b97
Fix reflection code to not crash when named arguments are used for th…
IanMercer Sep 26, 2014
c29122e
Merge pull request #61 from IanMercer/fixUnitTests
oysteinkrog Sep 26, 2014
447b2ce
Merge pull request #60 from IanMercer/master
oysteinkrog Sep 26, 2014
142afa5
Remove Silverlight platform
oysteinkrog Sep 26, 2014
5370ce1
Update solution version
oysteinkrog Sep 26, 2014
68db52e
Misc fixes for CancellationToken changes
oysteinkrog Sep 26, 2014
43c0eae
Add CancellationToken support in all async methods
oysteinkrog Sep 26, 2014
2897f71
Misc auto-changes for android project
oysteinkrog Sep 26, 2014
fbed18e
Modify test projects to use wildcard-inclusion of test files
oysteinkrog Sep 29, 2014
b05dbc4
Add NotNull attribute and support for extended error codes.
Jul 20, 2013
202cd29
Fix errors related to notnull (due to missing functions) in platform …
oysteinkrog Mar 6, 2014
f2ccf35
If a [MaxLength] attribute is not set on a string property, don't lim…
jstedfast Aug 21, 2013
139bf29
Remove dead code (leftover from previous commit which removed the def…
oysteinkrog Mar 9, 2014
feaccdb
Support for DateTimeOffset.
ukeller Sep 12, 2013
230c796
Fix SQL errors when using a blob as a search criterion
devinmartin Oct 4, 2013
229a238
Add missing UpdateAllAsync method similar to InsertAllAsync.
Oct 5, 2013
ccb8edf
Added 2 new CreateIndex() methods which take a string[] columnNames a…
jstedfast Aug 23, 2013
1cd46df
Update SQLite.Net and SQLite.Net.Async nuspecs to reflect transition …
oysteinkrog Oct 1, 2014
de2086e
Bump version to 2.4
oysteinkrog Oct 1, 2014
47bfdc3
Update nuspecs for version 2.4
oysteinkrog Oct 1, 2014
26bf893
Remove typo
potibas Oct 3, 2014
0c6f110
Merge pull request #68 from potz/patch-1
oysteinkrog Oct 4, 2014
9ee59d2
Add test for Ignore attribute
oysteinkrog Oct 4, 2014
e90e20c
Fix bug where the Ignore attribute was not properly detected
oysteinkrog Oct 4, 2014
2b15a5d
Add missing CancellationToken param in async method
oysteinkrog Oct 4, 2014
19da9ef
Fix failing test CreateUniqueIndexes
oysteinkrog Oct 4, 2014
5153763
Simplify some reflection code
oysteinkrog Oct 4, 2014
ed90bc2
Bump version to 2.4.1
oysteinkrog Oct 4, 2014
f267e68
Update nuspecs for version 2.4.1
oysteinkrog Oct 4, 2014
e1c2203
[Fix] Nullable types in ExecuteScalar
Dec 2, 2014
1f2a3d9
Merge pull request #85 from MontakOleg/nullable_execute_scalar
oysteinkrog Dec 2, 2014
250a192
Added support for default values
tyrongower Dec 3, 2014
844a6da
Added test for DefaultAttribute
tyrongower Dec 3, 2014
d8330af
Corrected Test
tyrongower Dec 3, 2014
ecc19e9
support overriding generated type #91
haf Dec 17, 2014
3273f06
adding something that can be compiled without licenses
haf Dec 17, 2014
c6b8c10
make appveyor happy plx
haf Dec 17, 2014
2b3f002
uint64 too #91
haf Dec 17, 2014
a4c6848
without yaml intro
haf Dec 17, 2014
1f38f99
Merge pull request #93 from haf/feature/extra-type-mappings
oysteinkrog Dec 19, 2014
4e8e975
Merge pull request #87 from tyrongower/master
oysteinkrog Dec 19, 2014
8f9ccc0
Added support for Xamarin.iOS Unified API
Dec 22, 2014
5b689b7
Merge pull request #97 from Gameleon12/master
oysteinkrog Dec 22, 2014
d916c5d
Use default value of T in ExecuteScalar when column type is Null
macu Jan 21, 2014
6863588
Bump version to 2.5
oysteinkrog Jan 7, 2015
f20f1cc
packaging: Fix minor error in prepare.bat
oysteinkrog Jan 7, 2015
b13773a
packaging: Add upload.bat (pushes all built nupkg's)
oysteinkrog Jan 7, 2015
551ad3e
nuget: Update NuGet.exe to 2.8.3
oysteinkrog Jan 7, 2015
ac2392f
packaging: Update nuspecs with version attribute for dependencies
oysteinkrog Jan 7, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ obj
bin
test-results
TestResults
*.nupkg
*.nupkg
/packages
6 changes: 6 additions & 0 deletions .nuget/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
Binary file added .nuget/NuGet.exe
Binary file not shown.
136 changes: 136 additions & 0 deletions .nuget/NuGet.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>

<!-- Enable the restore command to run before builds -->
<RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>

<!-- Property that enables building a package from a project -->
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>

<!-- Determines if package restore consent is required to restore packages -->
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>

<!-- Download NuGet.exe if it does not already exist -->
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
</PropertyGroup>

<ItemGroup Condition=" '$(PackageSources)' == '' ">
<!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
<!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
<!--
<PackageSource Include="https://www.nuget.org/api/v2/" />
<PackageSource Include="https://my-nuget-source/nuget/" />
-->
</ItemGroup>

<PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
<!-- Windows specific commands -->
<NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
<PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
</PropertyGroup>

<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
<!-- We need to launch nuget.exe with the mono command if we're not on windows -->
<NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
<PackagesConfig>packages.config</PackagesConfig>
</PropertyGroup>

<PropertyGroup>
<!-- NuGet command -->
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath>
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>

<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand>

<PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>

<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
<NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>

<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir>
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir>

<!-- Commands -->
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>

<!-- We need to ensure packages are restored prior to assembly resolve -->
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
RestorePackages;
$(BuildDependsOn);
</BuildDependsOn>

<!-- Make the build depend on restore packages -->
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
$(BuildDependsOn);
BuildPackage;
</BuildDependsOn>
</PropertyGroup>

<Target Name="CheckPrerequisites">
<!-- Raise an error if we're unable to locate nuget.exe -->
<Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
<!--
Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
This effectively acts as a lock that makes sure that the download operation will only happen once and all
parallel builds will have to wait for it to complete.
-->
<MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" />
</Target>

<Target Name="_DownloadNuGet">
<DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
</Target>

<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)"
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />

<Exec Command="$(RestoreCommand)"
LogStandardErrorAsError="true"
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
</Target>

<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(BuildCommand)"
Condition=" '$(OS)' != 'Windows_NT' " />

<Exec Command="$(BuildCommand)"
LogStandardErrorAsError="true"
Condition=" '$(OS)' == 'Windows_NT' " />
</Target>

<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutputFilename ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.Core" />
<Using Namespace="System" />
<Using Namespace="System.IO" />
<Using Namespace="System.Net" />
<Using Namespace="Microsoft.Build.Framework" />
<Using Namespace="Microsoft.Build.Utilities" />
<Code Type="Fragment" Language="cs">
<![CDATA[
try {
OutputFilename = Path.GetFullPath(OutputFilename);

Log.LogMessage("Downloading latest version of NuGet.exe...");
WebClient webClient = new WebClient();
webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename);

return true;
}
catch (Exception ex) {
Log.LogErrorFromException(ex);
return false;
}
]]>
</Code>
</Task>
</UsingTask>
</Project>
3 changes: 3 additions & 0 deletions Appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build:
project:
SQLite.Net.OSS.sln
80 changes: 0 additions & 80 deletions ImplicitChanges.txt

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// Copyright (c) 2012 Krueger Systems, Inc.
// Copyright (c) 2013 Øystein Krog (oystein.krog@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
40 changes: 0 additions & 40 deletions Makefile

This file was deleted.

Loading