System.Data.SQLite
Check-in [63d2c28b37]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge updates from trunk.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | preRelease
Files: files | file ages | folders
SHA1: 63d2c28b37ca66c3a3dc63c1ac1a0c2b90156367
User & Date: mistachkin 2015-02-13 21:31:37
Context
2015-02-20
19:15
Merge updates from trunk. check-in: 3e7ed06ca5 user: mistachkin tags: preRelease
2015-02-13
21:31
Merge updates from trunk. check-in: 63d2c28b37 user: mistachkin tags: preRelease
21:30
Refactor NuGet packages. check-in: 126b7c1987 user: mistachkin tags: trunk
2015-02-09
23:19
Merge updates from trunk. check-in: ae3b0b3c66 user: mistachkin tags: preRelease
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Doc/Extra/Provider/version.html.

    44     44       <div id="mainBody">
    45     45       <h1 class="heading">Version History</h1>
    46     46       <p><b>1.0.95.0 - February XX, 2015 <font color="red">(release scheduled)</font></b></p>
    47     47       <ul>
    48     48         <li>Updated to <a href="https://www.sqlite.org/releaselog/3_8_8_2.html">SQLite 3.8.8.2</a>.</li>
    49     49         <li>Updated to <a href="https://www.nuget.org/packages/EntityFramework/6.1.2">Entity Framework 6.1.2</a>.</li>
    50     50         <li>Modify configuration file transforms performed by the NuGet packages to allow Entity Framework 6 design-time integration to work automatically. Fix for <a href="https://system.data.sqlite.org/index.html/info/2be4298631">[2be4298631]</a>, <a href="https://system.data.sqlite.org/index.html/info/abad7c577d">[abad7c577d]</a>, and <a href="https://system.data.sqlite.org/index.html/info/417d669435">[417d669435]</a>.</li>
           51  +      <li>The &quot;System.Data.SQLite.EF6*&quot; and &quot;System.Data.SQLite.Linq*&quot; NuGet packages no longer depend on the &quot;System.Data.SQLite.Core*&quot; packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
           52  +      <li>The &quot;System.Data.SQLite.MSIL*&quot; NuGet packages no longer directly include any files; they are now meta-packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
           53  +      <li>The &quot;System.Data.SQLite.x86*&quot; and &quot;System.Data.SQLite.x64*&quot; NuGet packages now depend on the &quot;System.Data.SQLite.Linq&quot; and &quot;System.Data.SQLite.EF6&quot; NuGet packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    51     54         <li>Make sure SQL statements generated for DbUpdateCommandTree objects are properly delimited.</li>
    52     55         <li>Make sure SQLiteIndexOutputs.ConstraintUsages instances are created prior to calling ISQLiteManagedModule.BestIndex. Fix for <a href="https://system.data.sqlite.org/index.html/info/56f511d268">[56f511d268]</a>.</li>
    53     56         <li>Correct marshalling of strings and blobs in the SQLiteValue class. Fix for <a href="https://system.data.sqlite.org/index.html/info/85b824b736">[85b824b736]</a>.</li>
    54     57         <li>Various minor performance enhancements to the SQLiteDataReader class. Pursuant to <a href="https://system.data.sqlite.org/index.html/info/e122d26e70">[e122d26e70]</a>.</li>
    55     58         <li>Defer disposing of connections created by the static SQLiteCommand.Execute method when a data reader is returned. Fix for <a href="https://system.data.sqlite.org/index.html/info/daeaf3150a">[daeaf3150a]</a>.</li>
    56     59         <li>Wrap SELECT statements in parenthesis if they have an ORDER BY, LIMIT, or OFFSET clause and a compound operator is involved. Fix for <a href="https://system.data.sqlite.org/index.html/info/0a32885109">[0a32885109]</a>.</li>
    57     60         <li>In the SQLiteDataReader.VerifyType method, remove duplicate &quot;if&quot; statement for the DbType.SByte value and move the remaining &quot;if&quot; to the Int64 affinity. Fix for <a href="https://system.data.sqlite.org/index.html/info/c5cc2fb334">[c5cc2fb334]</a>.&nbsp;<b>** Potentially Incompatible Change **</b></li>
................................................................................
    58     61         <li>Handle Julian Day values that fall outside of the supported range for OLE Automation dates. Fix for <a href="https://system.data.sqlite.org/index.html/info/3e783eecbe">[3e783eecbe]</a>.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    59     62         <li>Make sure the interop files are copied when publishing a project that refers to a NuGet package containing them. Fix for <a href="https://system.data.sqlite.org/index.html/info/e796ac82c1">[e796ac82c1]</a>.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    60     63         <li>Make sure the interop files are copied before the PostBuildEvent. Fix for <a href="https://system.data.sqlite.org/index.html/info/f16c93a932">[f16c93a932]</a>.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    61     64         <li>Modify GetSchemaTable method to avoid setting SchemaTableColumn.IsKey column to true when more than one table is referenced. Fix for <a href="https://system.data.sqlite.org/index.html/info/47c6fa04d3">[47c6fa04d3]</a>.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    62     65         <li>Add AppendManifestToken_SQLiteProviderManifest environment variable to enable better integration between LINQ and the underlying store connection.</li>
    63     66         <li>Add SQLite_ForceLogPrepare environment variable to force logging of all prepared SQL regardless of the flags for the associated connection.</li>
    64     67         <li>Honor the DateTimeFormat, DateTimeKind, DateTimeFormatString, BinaryGUID connection string and/or provider manifest token properties from within the LINQ assembly. Fix for <a href="https://system.data.sqlite.org/index.html/info/8d928c3e88">[8d928c3e88]</a>.&nbsp;<b>** Potentially Incompatible Change **</b></li>
           68  +      <li>Add PrepareRetries connection string property to allow the maximum number of retries when preparing a query to be overridden. Fix for <a href="https://system.data.sqlite.org/index.html/info/647d282d11">[647d282d11]</a>.</li>
    65     69       </ul>
    66     70       <p><b>1.0.94.0 - September 9, 2014</b></p>
    67     71       <ul>
    68     72         <li>Updated to <a href="https://www.sqlite.org/releaselog/3_8_6.html">SQLite 3.8.6</a>.</li>
    69     73         <li>Updated to <a href="https://www.nuget.org/packages/EntityFramework/6.1.1">Entity Framework 6.1.1</a>.</li>
    70     74         <li>Refactor and simplify NuGet packages in order to support per-solution SQLite interop assembly files.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    71     75         <li>Add RefreshFlags method to the SQLiteDataReader class to forcibly refresh its connection flags.</li>

Changes to NuGet/SQLite.EF6.Beta.nuspec.

    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23     23       <dependencies>
    24         -      <group targetFramework="net40">
    25         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    26         -      </group>
    27         -      <group targetFramework="net45">
    28         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    29         -      </group>
    30         -      <group targetFramework="net451">
    31         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    32         -      </group>
    33     24         <group targetFramework="net40">
    34     25           <dependency id="EntityFramework" version="6.1.2.0" />
    35     26         </group>
    36     27         <group targetFramework="net45">
    37     28           <dependency id="EntityFramework" version="6.1.2.0" />
    38     29         </group>
    39     30         <group targetFramework="net451">

Changes to NuGet/SQLite.EF6.Test.nuspec.

    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23     23       <dependencies>
    24         -      <group targetFramework="net40">
    25         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    26         -      </group>
    27         -      <group targetFramework="net45">
    28         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    29         -      </group>
    30         -      <group targetFramework="net451">
    31         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    32         -      </group>
    33     24         <group targetFramework="net40">
    34     25           <dependency id="EntityFramework" version="6.1.2.0" />
    35     26         </group>
    36     27         <group targetFramework="net45">
    37     28           <dependency id="EntityFramework" version="6.1.2.0" />
    38     29         </group>
    39     30         <group targetFramework="net451">

Changes to NuGet/SQLite.EF6.nuspec.

    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23     23       <dependencies>
    24         -      <group targetFramework="net40">
    25         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    26         -      </group>
    27         -      <group targetFramework="net45">
    28         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    29         -      </group>
    30         -      <group targetFramework="net451">
    31         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    32         -      </group>
    33     24         <group targetFramework="net40">
    34     25           <dependency id="EntityFramework" version="6.1.2.0" />
    35     26         </group>
    36     27         <group targetFramework="net45">
    37     28           <dependency id="EntityFramework" version="6.1.2.0" />
    38     29         </group>
    39     30         <group targetFramework="net451">

Changes to NuGet/SQLite.Linq.Beta.nuspec.

    16     16       <description>This is a &quot;beta&quot; package and is not intended for production use.  Support for LINQ using System.Data.SQLite.</description>
    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23         -    <dependencies>
    24         -      <group targetFramework="net20">
    25         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    26         -      </group>
    27         -      <group targetFramework="net40">
    28         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    29         -      </group>
    30         -      <group targetFramework="net45">
    31         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    32         -      </group>
    33         -      <group targetFramework="net451">
    34         -        <dependency id="System.Data.SQLite.Core.Beta" version="1.0.95.0" />
    35         -      </group>
    36         -    </dependencies>
    37     23     </metadata>
    38     24     <files>
    39     25       <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    40     26       <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    41     27       <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    42     28       <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    43     29       <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />

Changes to NuGet/SQLite.Linq.Test.nuspec.

    16     16       <description>This is a pre-release package and is not intended for production use.  Support for LINQ using System.Data.SQLite.</description>
    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23         -    <dependencies>
    24         -      <group targetFramework="net20">
    25         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    26         -      </group>
    27         -      <group targetFramework="net40">
    28         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    29         -      </group>
    30         -      <group targetFramework="net45">
    31         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    32         -      </group>
    33         -      <group targetFramework="net451">
    34         -        <dependency id="System.Data.SQLite.Core.Test" version="1.0.95.0" />
    35         -      </group>
    36         -    </dependencies>
    37     23     </metadata>
    38     24     <files>
    39     25       <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    40     26       <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    41     27       <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    42     28       <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    43     29       <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />

Changes to NuGet/SQLite.Linq.nuspec.

    16     16       <description>Support for LINQ using System.Data.SQLite.</description>
    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23         -    <dependencies>
    24         -      <group targetFramework="net20">
    25         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    26         -      </group>
    27         -      <group targetFramework="net40">
    28         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    29         -      </group>
    30         -      <group targetFramework="net45">
    31         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    32         -      </group>
    33         -      <group targetFramework="net451">
    34         -        <dependency id="System.Data.SQLite.Core" version="1.0.95.0" />
    35         -      </group>
    36         -    </dependencies>
    37     23     </metadata>
    38     24     <files>
    39     25       <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    40     26       <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    41     27       <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    42     28       <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    43     29       <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />

Changes to NuGet/SQLite.MSIL.Beta.nuspec.

    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23     23       <dependencies>
           24  +      <group targetFramework="net20">
           25  +        <dependency id="System.Data.SQLite.Core.MSIL.Beta" version="1.0.95.0" />
           26  +      </group>
           27  +      <group targetFramework="net40">
           28  +        <dependency id="System.Data.SQLite.Core.MSIL.Beta" version="1.0.95.0" />
           29  +      </group>
           30  +      <group targetFramework="net45">
           31  +        <dependency id="System.Data.SQLite.Core.MSIL.Beta" version="1.0.95.0" />
           32  +      </group>
           33  +      <group targetFramework="net451">
           34  +        <dependency id="System.Data.SQLite.Core.MSIL.Beta" version="1.0.95.0" />
           35  +      </group>
           36  +      <group targetFramework="net20">
           37  +        <dependency id="System.Data.SQLite.Linq.Beta" version="1.0.95.0" />
           38  +      </group>
           39  +      <group targetFramework="net40">
           40  +        <dependency id="System.Data.SQLite.Linq.Beta" version="1.0.95.0" />
           41  +      </group>
           42  +      <group targetFramework="net45">
           43  +        <dependency id="System.Data.SQLite.Linq.Beta" version="1.0.95.0" />
           44  +      </group>
           45  +      <group targetFramework="net451">
           46  +        <dependency id="System.Data.SQLite.Linq.Beta" version="1.0.95.0" />
           47  +      </group>
    24     48         <group targetFramework="net40">
    25         -        <dependency id="EntityFramework" version="6.1.2.0" />
           49  +        <dependency id="System.Data.SQLite.EF6.Beta" version="1.0.95.0" />
    26     50         </group>
    27     51         <group targetFramework="net45">
    28         -        <dependency id="EntityFramework" version="6.1.2.0" />
           52  +        <dependency id="System.Data.SQLite.EF6.Beta" version="1.0.95.0" />
    29     53         </group>
    30     54         <group targetFramework="net451">
    31         -        <dependency id="EntityFramework" version="6.1.2.0" />
           55  +        <dependency id="System.Data.SQLite.EF6.Beta" version="1.0.95.0" />
    32     56         </group>
    33     57       </dependencies>
    34     58     </metadata>
    35         -  <files>
    36         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.dll" target="lib\net20" />
    37         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.xml" target="lib\net20" />
    38         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.dll" target="lib\net40" />
    39         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.xml" target="lib\net40" />
    40         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.dll" target="lib\net45" />
    41         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.xml" target="lib\net45" />
    42         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.dll" target="lib\net451" />
    43         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.xml" target="lib\net451" />
    44         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    45         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    46         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    47         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    48         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    49         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    50         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    51         -    <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />
    52         -    <file src="shared\Core\content\config.transform" target="content\net20\web.config.transform" />
    53         -    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    54         -    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    55         -    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    56         -    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    57         -    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    58         -    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    59         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    60         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    61         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
    62         -  </files>
           59  +  <files />
    63     60   </package>

Changes to NuGet/SQLite.MSIL.Test.nuspec.

    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23     23       <dependencies>
           24  +      <group targetFramework="net20">
           25  +        <dependency id="System.Data.SQLite.Core.MSIL.Test" version="1.0.95.0" />
           26  +      </group>
           27  +      <group targetFramework="net40">
           28  +        <dependency id="System.Data.SQLite.Core.MSIL.Test" version="1.0.95.0" />
           29  +      </group>
           30  +      <group targetFramework="net45">
           31  +        <dependency id="System.Data.SQLite.Core.MSIL.Test" version="1.0.95.0" />
           32  +      </group>
           33  +      <group targetFramework="net451">
           34  +        <dependency id="System.Data.SQLite.Core.MSIL.Test" version="1.0.95.0" />
           35  +      </group>
           36  +      <group targetFramework="net20">
           37  +        <dependency id="System.Data.SQLite.Linq.Test" version="1.0.95.0" />
           38  +      </group>
           39  +      <group targetFramework="net40">
           40  +        <dependency id="System.Data.SQLite.Linq.Test" version="1.0.95.0" />
           41  +      </group>
           42  +      <group targetFramework="net45">
           43  +        <dependency id="System.Data.SQLite.Linq.Test" version="1.0.95.0" />
           44  +      </group>
           45  +      <group targetFramework="net451">
           46  +        <dependency id="System.Data.SQLite.Linq.Test" version="1.0.95.0" />
           47  +      </group>
    24     48         <group targetFramework="net40">
    25         -        <dependency id="EntityFramework" version="6.1.2.0" />
           49  +        <dependency id="System.Data.SQLite.EF6.Test" version="1.0.95.0" />
    26     50         </group>
    27     51         <group targetFramework="net45">
    28         -        <dependency id="EntityFramework" version="6.1.2.0" />
           52  +        <dependency id="System.Data.SQLite.EF6.Test" version="1.0.95.0" />
    29     53         </group>
    30     54         <group targetFramework="net451">
    31         -        <dependency id="EntityFramework" version="6.1.2.0" />
           55  +        <dependency id="System.Data.SQLite.EF6.Test" version="1.0.95.0" />
    32     56         </group>
    33     57       </dependencies>
    34     58     </metadata>
    35         -  <files>
    36         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.dll" target="lib\net20" />
    37         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.xml" target="lib\net20" />
    38         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.dll" target="lib\net40" />
    39         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.xml" target="lib\net40" />
    40         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.dll" target="lib\net45" />
    41         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.xml" target="lib\net45" />
    42         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.dll" target="lib\net451" />
    43         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.xml" target="lib\net451" />
    44         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    45         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    46         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    47         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    48         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    49         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    50         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    51         -    <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />
    52         -    <file src="shared\Core\content\config.transform" target="content\net20\web.config.transform" />
    53         -    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    54         -    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    55         -    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    56         -    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    57         -    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    58         -    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    59         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    60         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    61         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
    62         -  </files>
           59  +  <files />
    63     60   </package>

Changes to NuGet/SQLite.MSIL.nuspec.

    17     17       <language>en-US</language>
    18     18       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    19     19       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    20     20       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    21     21       <tags>sqlite database ado.net provider interop</tags>
    22     22       <copyright>Public Domain</copyright>
    23     23       <dependencies>
           24  +      <group targetFramework="net20">
           25  +        <dependency id="System.Data.SQLite.Core.MSIL" version="1.0.95.0" />
           26  +      </group>
           27  +      <group targetFramework="net40">
           28  +        <dependency id="System.Data.SQLite.Core.MSIL" version="1.0.95.0" />
           29  +      </group>
           30  +      <group targetFramework="net45">
           31  +        <dependency id="System.Data.SQLite.Core.MSIL" version="1.0.95.0" />
           32  +      </group>
           33  +      <group targetFramework="net451">
           34  +        <dependency id="System.Data.SQLite.Core.MSIL" version="1.0.95.0" />
           35  +      </group>
           36  +      <group targetFramework="net20">
           37  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           38  +      </group>
           39  +      <group targetFramework="net40">
           40  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           41  +      </group>
           42  +      <group targetFramework="net45">
           43  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           44  +      </group>
           45  +      <group targetFramework="net451">
           46  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           47  +      </group>
    24     48         <group targetFramework="net40">
    25         -        <dependency id="EntityFramework" version="6.1.2.0" />
           49  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    26     50         </group>
    27     51         <group targetFramework="net45">
    28         -        <dependency id="EntityFramework" version="6.1.2.0" />
           52  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    29     53         </group>
    30     54         <group targetFramework="net451">
    31         -        <dependency id="EntityFramework" version="6.1.2.0" />
           55  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    32     56         </group>
    33     57       </dependencies>
    34     58     </metadata>
    35         -  <files>
    36         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.dll" target="lib\net20" />
    37         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.xml" target="lib\net20" />
    38         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.dll" target="lib\net40" />
    39         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.xml" target="lib\net40" />
    40         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.dll" target="lib\net45" />
    41         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.xml" target="lib\net45" />
    42         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.dll" target="lib\net451" />
    43         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.xml" target="lib\net451" />
    44         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    45         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    46         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    47         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    48         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    49         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    50         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    51         -    <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />
    52         -    <file src="shared\Core\content\config.transform" target="content\net20\web.config.transform" />
    53         -    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    54         -    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    55         -    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    56         -    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    57         -    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    58         -    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    59         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    60         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    61         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
    62         -  </files>
           59  +  <files />
    63     60   </package>

Changes to NuGet/SQLite.x64.nuspec.

    16     16       <language>en-US</language>
    17     17       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    18     18       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    19     19       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    20     20       <tags>sqlite database ado.net provider interop</tags>
    21     21       <copyright>Public Domain</copyright>
    22     22       <dependencies>
           23  +      <group targetFramework="net20">
           24  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           25  +      </group>
           26  +      <group targetFramework="net40">
           27  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           28  +      </group>
           29  +      <group targetFramework="net45">
           30  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           31  +      </group>
           32  +      <group targetFramework="net451">
           33  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           34  +      </group>
    23     35         <group targetFramework="net40">
    24         -        <dependency id="EntityFramework" version="6.1.2.0" />
           36  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    25     37         </group>
    26     38         <group targetFramework="net45">
    27         -        <dependency id="EntityFramework" version="6.1.2.0" />
           39  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    28     40         </group>
    29     41         <group targetFramework="net451">
    30         -        <dependency id="EntityFramework" version="6.1.2.0" />
           42  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    31     43         </group>
    32     44       </dependencies>
    33     45     </metadata>
    34     46     <files>
    35     47       <file src="..\bin\2008\x64\ReleaseStatic\System.Data.SQLite.dll" target="lib\net20" />
    36     48       <file src="..\bin\2008\Release\bin\System.Data.SQLite.xml" target="lib\net20" />
    37     49       <file src="..\bin\2010\x64\ReleaseStatic\System.Data.SQLite.dll" target="lib\net40" />
    38     50       <file src="..\bin\2010\Release\bin\System.Data.SQLite.xml" target="lib\net40" />
    39     51       <file src="..\bin\2012\x64\ReleaseStatic\System.Data.SQLite.dll" target="lib\net45" />
    40     52       <file src="..\bin\2012\Release\bin\System.Data.SQLite.xml" target="lib\net45" />
    41     53       <file src="..\bin\2013\x64\ReleaseStatic\System.Data.SQLite.dll" target="lib\net451" />
    42     54       <file src="..\bin\2013\Release\bin\System.Data.SQLite.xml" target="lib\net451" />
    43         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    44         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    45         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    46         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    47         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    48         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    49         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    50         -    <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />
    51         -    <file src="shared\Core\content\config.transform" target="content\net20\web.config.transform" />
    52         -    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    53         -    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    54         -    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    55         -    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    56         -    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    57         -    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    58         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    59         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    60         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
    61     55     </files>
    62     56   </package>

Changes to NuGet/SQLite.x86.nuspec.

    16     16       <language>en-US</language>
    17     17       <projectUrl>https://system.data.sqlite.org/</projectUrl>
    18     18       <iconUrl>https://system.data.sqlite.org/images/sqlite128.png</iconUrl>
    19     19       <licenseUrl>https://www.sqlite.org/copyright.html</licenseUrl>
    20     20       <tags>sqlite database ado.net provider interop</tags>
    21     21       <copyright>Public Domain</copyright>
    22     22       <dependencies>
           23  +      <group targetFramework="net20">
           24  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           25  +      </group>
           26  +      <group targetFramework="net40">
           27  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           28  +      </group>
           29  +      <group targetFramework="net45">
           30  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           31  +      </group>
           32  +      <group targetFramework="net451">
           33  +        <dependency id="System.Data.SQLite.Linq" version="1.0.95.0" />
           34  +      </group>
    23     35         <group targetFramework="net40">
    24         -        <dependency id="EntityFramework" version="6.1.2.0" />
           36  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    25     37         </group>
    26     38         <group targetFramework="net45">
    27         -        <dependency id="EntityFramework" version="6.1.2.0" />
           39  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    28     40         </group>
    29     41         <group targetFramework="net451">
    30         -        <dependency id="EntityFramework" version="6.1.2.0" />
           42  +        <dependency id="System.Data.SQLite.EF6" version="1.0.95.0" />
    31     43         </group>
    32     44       </dependencies>
    33     45     </metadata>
    34     46     <files>
    35     47       <file src="..\bin\2008\Win32\ReleaseStatic\System.Data.SQLite.dll" target="lib\net20" />
    36     48       <file src="..\bin\2008\Release\bin\System.Data.SQLite.xml" target="lib\net20" />
    37     49       <file src="..\bin\2010\Win32\ReleaseStatic\System.Data.SQLite.dll" target="lib\net40" />
    38     50       <file src="..\bin\2010\Release\bin\System.Data.SQLite.xml" target="lib\net40" />
    39     51       <file src="..\bin\2012\Win32\ReleaseStatic\System.Data.SQLite.dll" target="lib\net45" />
    40     52       <file src="..\bin\2012\Release\bin\System.Data.SQLite.xml" target="lib\net45" />
    41     53       <file src="..\bin\2013\Win32\ReleaseStatic\System.Data.SQLite.dll" target="lib\net451" />
    42     54       <file src="..\bin\2013\Release\bin\System.Data.SQLite.xml" target="lib\net451" />
    43         -    <file src="..\bin\2008\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net20" />
    44         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net40" />
    45         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net45" />
    46         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.Linq.dll" target="lib\net451" />
    47         -    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    48         -    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    49         -    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    50         -    <file src="shared\Core\content\config.transform" target="content\net20\app.config.transform" />
    51         -    <file src="shared\Core\content\config.transform" target="content\net20\web.config.transform" />
    52         -    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    53         -    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    54         -    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    55         -    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    56         -    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    57         -    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    58         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    59         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    60         -    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
    61     55     </files>
    62     56   </package>

Changes to SQLite.Interop/src/win/interop.c.

     4      4    *
     5      5    * Released to the public domain, use at your own risk!
     6      6    ********************************************************/
     7      7   
     8      8   #define SQLITE_API __declspec(dllexport)
     9      9   
    10     10   #include "../core/sqlite3.c"
           11  +
           12  +#if defined(INTEROP_INCLUDE_EXTRA)
           13  +#include "../ext/extra.c"
           14  +#endif
           15  +
           16  +#if defined(INTEROP_INCLUDE_CEROD)
           17  +#include "../ext/cerod.c"
           18  +#endif
           19  +
           20  +#if defined(INTEROP_INCLUDE_SEE)
           21  +#include "../ext/see.c"
           22  +#endif
    11     23   
    12     24   #if defined(INTEROP_VIRTUAL_TABLE) && SQLITE_VERSION_NUMBER >= 3004001
    13     25   #include "../ext/vtshim.c"
    14     26   #endif
    15     27   
    16     28   #if defined(INTEROP_PERCENTILE_EXTENSION)
    17     29   #include "../ext/percentile.c"
................................................................................
    27     39   
    28     40   #if defined(INTEROP_EXTENSION_FUNCTIONS)
    29     41   #include "../contrib/extension-functions.c"
    30     42   extern int RegisterExtensionFunctions(sqlite3 *db);
    31     43   #endif
    32     44   
    33     45   #if defined(SQLITE_OS_WIN)
    34         -#if defined(INTEROP_CODEC)
           46  +#if defined(INTEROP_CODEC) && !defined(INTEROP_INCLUDE_SEE)
    35     47   #include "crypt.c"
    36         -#elif defined(INTEROP_INCLUDE_SEE)
    37         -#include "../ext/see.c"
    38     48   #endif
    39     49   
    40     50   #include "interop.h"
    41     51   
    42     52   #define INTEROP_DEBUG_NONE           (0x0000)
    43     53   #define INTEROP_DEBUG_CLOSE          (0x0001)
    44     54   #define INTEROP_DEBUG_FINALIZE       (0x0002)
................................................................................
    85     95     "CODEC",
    86     96   #endif
    87     97   #ifdef INTEROP_DEBUG
    88     98     "DEBUG=" CTIMEOPT_VAL(INTEROP_DEBUG),
    89     99   #endif
    90    100   #ifdef INTEROP_EXTENSION_FUNCTIONS
    91    101     "EXTENSION_FUNCTIONS",
          102  +#endif
          103  +#ifdef INTEROP_INCLUDE_CEROD
          104  +  "INCLUDE_CEROD",
          105  +#endif
          106  +#ifdef INTEROP_INCLUDE_EXTRA
          107  +  "INCLUDE_EXTRA",
    92    108   #endif
    93    109   #ifdef INTEROP_INCLUDE_SEE
    94    110     "INCLUDE_SEE",
    95    111   #endif
    96    112   #ifdef INTEROP_LEGACY_CLOSE
    97    113     "LEGACY_CLOSE",
    98    114   #endif

Changes to SQLite.Interop/src/win/interop.h.

     6      6    */
     7      7   
     8      8   #ifndef INTEROP_VERSION
     9      9   #define INTEROP_VERSION          "1.0.95.0"
    10     10   #endif
    11     11   
    12     12   #ifndef INTEROP_SOURCE_ID
    13         -#define INTEROP_SOURCE_ID        "c0f67d5d98a67b7f411873193fb9fe934d5be125"
           13  +#define INTEROP_SOURCE_ID        "0000000000000000000000000000000000000000"
    14     14   #endif
    15     15   
    16     16   #ifndef INTEROP_SOURCE_TIMESTAMP
    17         -#define INTEROP_SOURCE_TIMESTAMP "2015-01-30 17:59:12 UTC"
           17  +#define INTEROP_SOURCE_TIMESTAMP "0000-00-00 00:00:00 UTC"
    18     18   #endif

Changes to System.Data.SQLite/SQLite3.cs.

   974    974         }
   975    975   
   976    976         IntPtr stmt = IntPtr.Zero;
   977    977         IntPtr ptr = IntPtr.Zero;
   978    978         int len = 0;
   979    979         SQLiteErrorCode n = SQLiteErrorCode.Schema;
   980    980         int retries = 0;
          981  +      int maximumRetries = (cnn != null) ? cnn._prepareRetries : SQLiteConnection.DefaultPrepareRetries;
   981    982         byte[] b = ToUTF8(strSql);
   982    983         string typedefs = null;
   983    984         SQLiteStatement cmd = null;
   984    985         Random rnd = null;
   985    986         uint starttick = (uint)Environment.TickCount;
   986    987   
   987    988         GCHandle handle = GCHandle.Alloc(b, GCHandleType.Pinned);
   988    989         IntPtr psql = handle.AddrOfPinnedObject();
   989    990         SQLiteStatementHandle statementHandle = null;
   990    991         try
   991    992         {
   992         -        while ((n == SQLiteErrorCode.Schema || n == SQLiteErrorCode.Locked || n == SQLiteErrorCode.Busy) && retries < 3)
          993  +        while ((n == SQLiteErrorCode.Schema || n == SQLiteErrorCode.Locked || n == SQLiteErrorCode.Busy) && retries < maximumRetries)
   993    994           {
   994    995             try
   995    996             {
   996    997               // do nothing.
   997    998             }
   998    999             finally /* NOTE: Thread.Abort() protection. */
   999   1000             {

Changes to System.Data.SQLite/SQLiteConnection.cs.

   373    373       private const bool DefaultUseUTF16Encoding = false;
   374    374       private const bool DefaultToFullPath = true;
   375    375       private const bool DefaultPooling = false; // TODO: Maybe promote this to static property?
   376    376       private const bool DefaultLegacyFormat = false;
   377    377       private const bool DefaultForeignKeys = false;
   378    378       private const bool DefaultEnlist = true;
   379    379       private const bool DefaultSetDefaults = true;
          380  +    internal const int DefaultPrepareRetries = 3;
   380    381   
   381    382       private const int SQLITE_FCNTL_CHUNK_SIZE = 6;
   382    383       private const int SQLITE_FCNTL_WIN32_AV_RETRY = 9;
   383    384   
   384    385       private const string _dataDirectory = "|DataDirectory|";
   385    386       private const string _masterdb = "sqlite_master";
   386    387       private const string _tempmasterdb = "sqlite_temp_master";
................................................................................
   513    514       /// flag is set.
   514    515       /// </summary>
   515    516       private string _defaultTypeName;
   516    517   
   517    518       /// <summary>
   518    519       /// Default command timeout
   519    520       /// </summary>
   520         -    private int _defaultTimeout = 30;
          521  +    private int _defaultTimeout = DefaultConnectionTimeout;
          522  +
          523  +    /// <summary>
          524  +    /// The maximum number of retries when preparing SQL to be executed.  This
          525  +    /// normally only applies to preparation errors resulting from the database
          526  +    /// schema being changed.
          527  +    /// </summary>
          528  +    internal int _prepareRetries = DefaultPrepareRetries;
   521    529   
   522    530       /// <summary>
   523    531       /// Non-zero if the built-in (i.e. framework provided) connection string
   524    532       /// parser should be used when opening the connection.
   525    533       /// </summary>
   526    534       private bool _parseViaFramework;
   527    535   
................................................................................
  1354   1362       /// Obsolete
  1355   1363       /// </summary>
  1356   1364       public override int ConnectionTimeout
  1357   1365       {
  1358   1366         get
  1359   1367         {
  1360   1368           CheckDisposed();
  1361         -        return 30;
         1369  +        return DefaultConnectionTimeout;
  1362   1370         }
  1363   1371       }
  1364   1372   #endif
  1365   1373   
  1366   1374       /// <summary>
  1367   1375       /// Creates a clone of the connection.  All attached databases and user-defined functions are cloned.  If the existing connection is open, the cloned connection
  1368   1376       /// will also be opened.
................................................................................
  2537   2545   
  2538   2546         try
  2539   2547         {
  2540   2548           bool usePooling = SQLiteConvert.ToBoolean(FindKey(opts, "Pooling", GetDefaultPooling().ToString()));
  2541   2549           int maxPoolSize = Convert.ToInt32(FindKey(opts, "Max Pool Size", DefaultMaxPoolSize.ToString()), CultureInfo.InvariantCulture);
  2542   2550   
  2543   2551           _defaultTimeout = Convert.ToInt32(FindKey(opts, "Default Timeout", DefaultConnectionTimeout.ToString()), CultureInfo.InvariantCulture);
         2552  +        _prepareRetries = Convert.ToInt32(FindKey(opts, "PrepareRetries", DefaultPrepareRetries.ToString()), CultureInfo.InvariantCulture);
  2544   2553   
  2545   2554           enumValue = TryParseEnum(typeof(IsolationLevel), FindKey(opts, "Default IsolationLevel", DefaultIsolationLevel.ToString()), true);
  2546   2555           _defaultIsolation = (enumValue is IsolationLevel) ? (IsolationLevel)enumValue : DefaultIsolationLevel;
  2547   2556           _defaultIsolation = GetEffectiveIsolationLevel(_defaultIsolation);
  2548   2557   
  2549   2558           if (_defaultIsolation != ImmediateIsolationLevel && _defaultIsolation != DeferredIsolationLevel)
  2550   2559             throw new NotSupportedException("Invalid Default IsolationLevel specified");
................................................................................
  2753   2762       /// This can also be set in the ConnectionString with "Default Timeout"
  2754   2763       /// </summary>
  2755   2764       public int DefaultTimeout
  2756   2765       {
  2757   2766         get { CheckDisposed(); return _defaultTimeout; }
  2758   2767         set { CheckDisposed(); _defaultTimeout = value; }
  2759   2768       }
         2769  +
         2770  +    /// <summary>
         2771  +    /// The maximum number of retries when preparing SQL to be executed.  This
         2772  +    /// normally only applies to preparation errors resulting from the database
         2773  +    /// schema being changed.
         2774  +    /// </summary>
         2775  +    public int PrepareRetries
         2776  +    {
         2777  +        get { CheckDisposed(); return _prepareRetries; }
         2778  +        set { CheckDisposed(); _prepareRetries = value; }
         2779  +    }
  2760   2780   
  2761   2781       /// <summary>
  2762   2782       /// Non-zero if the built-in (i.e. framework provided) connection string
  2763   2783       /// parser should be used when opening the connection.
  2764   2784       /// </summary>
  2765   2785       public bool ParseViaFramework
  2766   2786       {

Changes to System.Data.SQLite/SQLiteConnectionStringBuilder.cs.

   247    247           return Convert.ToInt32(value, CultureInfo.CurrentCulture);
   248    248         }
   249    249         set
   250    250         {
   251    251           this["default timeout"] = value;
   252    252         }
   253    253       }
          254  +
          255  +    /// <summary>
          256  +    /// Gets/sets the maximum number of retries when preparing SQL to be executed.
          257  +    /// This normally only applies to preparation errors resulting from the database
          258  +    /// schema being changed.
          259  +    /// </summary>
          260  +    [DisplayName("Prepare Retries")]
          261  +    [Browsable(true)]
          262  +    [DefaultValue(3)]
          263  +    public int PrepareRetries
          264  +    {
          265  +        get
          266  +        {
          267  +            object value;
          268  +            TryGetValue("prepareretries", out value);
          269  +            return Convert.ToInt32(value, CultureInfo.CurrentCulture);
          270  +        }
          271  +        set
          272  +        {
          273  +            this["prepareretries"] = value;
          274  +        }
          275  +    }
   254    276   
   255    277       /// <summary>
   256    278       /// Determines whether or not the connection will automatically participate
   257    279       /// in the current distributed transaction (if one exists)
   258    280       /// </summary>
   259    281       [Browsable(true)]
   260    282       [DefaultValue(true)]

Changes to System.Data.SQLite/SQLiteDefineConstants.cs.

    31     31   #if INTEROP_DEBUG
    32     32               "INTEROP_DEBUG",
    33     33   #endif
    34     34   
    35     35   #if INTEROP_EXTENSION_FUNCTIONS
    36     36               "INTEROP_EXTENSION_FUNCTIONS",
    37     37   #endif
           38  +
           39  +#if INTEROP_INCLUDE_CEROD
           40  +            "INTEROP_INCLUDE_CEROD",
           41  +#endif
           42  +
           43  +#if INTEROP_INCLUDE_EXTRA
           44  +            "INTEROP_INCLUDE_EXTRA",
           45  +#endif
    38     46   
    39     47   #if INTEROP_INCLUDE_SEE
    40     48               "INTEROP_INCLUDE_SEE",
    41     49   #endif
    42     50   
    43     51   #if INTEROP_LEGACY_CLOSE
    44     52               "INTEROP_LEGACY_CLOSE",

Changes to System.Data.SQLite/SQLitePatchLevel.cs.

     5      5    * Released to the public domain, use at your own risk!
     6      6    ********************************************************/
     7      7   
     8      8   using System.Data.SQLite;
     9      9   
    10     10   ///////////////////////////////////////////////////////////////////////////////
    11     11   
    12         -[assembly: AssemblySourceId("c0f67d5d98a67b7f411873193fb9fe934d5be125")]
           12  +[assembly: AssemblySourceId(null)]
    13     13   
    14     14   ///////////////////////////////////////////////////////////////////////////////
    15     15   
    16         -[assembly: AssemblySourceTimeStamp("2015-01-30 17:59:12 UTC")]
           16  +[assembly: AssemblySourceTimeStamp(null)]

Changes to System.Data.SQLite/Targets/System.Data.SQLite.Properties.targets.

    93     93     -->
    94     94     <PropertyGroup Condition="'$(TrackMemoryBytes)' != 'false'">
    95     95       <DefineConstants>$(DefineConstants);TRACK_MEMORY_BYTES</DefineConstants>
    96     96     </PropertyGroup>
    97     97   
    98     98     <!--
    99     99         NOTE: For interaction with the native SQLite implementation, use the
   100         -            custom build interop DLL (i.e. "SQLite.Interop.DLL")?
          100  +            custom built interop DLL (i.e. "SQLite.Interop.DLL")?
   101    101     -->
   102    102     <PropertyGroup Condition="'$(UseInteropDll)' != 'false'">
   103    103       <DefineConstants>$(DefineConstants);USE_INTEROP_DLL</DefineConstants>
   104    104     </PropertyGroup>
   105    105   
   106    106     <!--
   107    107         NOTE: For interaction with the native SQLite implementation, use the
................................................................................
   160    160         NOTE: Enable support (in the managed assemblies) for encrypted databases
   161    161               using SEE?
   162    162     -->
   163    163     <PropertyGroup Condition="'$(InteropIncludeSee)' != 'false'">
   164    164       <DefineConstants>$(DefineConstants);INTEROP_INCLUDE_SEE</DefineConstants>
   165    165     </PropertyGroup>
   166    166   
          167  +  <!--
          168  +      NOTE: Enable support (in the managed assemblies) for compressed and
          169  +            encrypted databases using CEROD?
          170  +  -->
          171  +  <PropertyGroup Condition="'$(InteropIncludeCerod)' != 'false'">
          172  +    <DefineConstants>$(DefineConstants);INTEROP_INCLUDE_CEROD</DefineConstants>
          173  +  </PropertyGroup>
          174  +
          175  +  <!--
          176  +      NOTE: Enable support (in the managed assemblies) for whatever "extra"
          177  +            code (e.g. "extensions") may be included by the custom built
          178  +            interop DLL (i.e. "SQLite.Interop.DLL")?
          179  +  -->
          180  +  <PropertyGroup Condition="'$(InteropIncludeExtra)' != 'false'">
          181  +    <DefineConstants>$(DefineConstants);INTEROP_INCLUDE_EXTRA</DefineConstants>
          182  +  </PropertyGroup>
          183  +
   167    184     <!--
   168    185         NOTE: Enable extra diagnostics from the custom built interop DLL (see the
   169    186               "SQLite.NET.Settings.targets" file for more information)?
   170    187     -->
   171    188     <PropertyGroup Condition="'$(InteropDebug)' != 'false'">
   172    189       <DefineConstants>$(DefineConstants);INTEROP_DEBUG</DefineConstants>
   173    190     </PropertyGroup>

Changes to Targets/SQLite.NET.Settings.targets.

   352    352   
   353    353                     "SQLite.Interop\props\SQLite.Interop.20YY.[vs]props"
   354    354   
   355    355                 both for the corresponding version(s) of Visual Studio.
   356    356       -->
   357    357       <InteropIncludeSee Condition="'$(InteropIncludeSee)' == ''">false</InteropIncludeSee>
   358    358   
          359  +    <!--
          360  +        NOTE: Enable including CEROD with the custom built interop DLL (i.e.
          361  +              "SQLite.Interop.dll")?  By default, this is disabled.  If this is
          362  +              enabled, the "cerod.c" file will be included from the extensions
          363  +              directory.  If this is enabled, it must also be enabled via the
          364  +              "SQLITE_HAS_CODEC=1" preprocessor define being present in the
          365  +              "SQLITE_EXTRA_DEFINES" macro in the build properties file:
          366  +
          367  +                  "SQLite.Interop\props\sqlite3.[vs]props"
          368  +
          369  +              AND via the "INTEROP_INCLUDE_CEROD=1" preprocessor define being
          370  +              present in the "INTEROP_EXTRA_DEFINES" macro in the build
          371  +              properties file:
          372  +
          373  +                  "SQLite.Interop\props\SQLite.Interop.20YY.[vs]props"
          374  +
          375  +              both for the corresponding version(s) of Visual Studio.
          376  +    -->
          377  +    <InteropIncludeCerod Condition="'$(InteropIncludeCerod)' == ''">false</InteropIncludeCerod>
          378  +
          379  +    <!--
          380  +        NOTE: Enable including "extra" code with the custom built interop DLL
          381  +              (i.e. "SQLite.Interop.dll")?  By default, this is disabled.  If
          382  +              this is enabled, the "extra.c" file will be included from the
          383  +              extensions directory.  If this is enabled, it must also be
          384  +              enabled via the "INTEROP_INCLUDE_EXTRA=1" preprocessor define
          385  +              being present in the "INTEROP_EXTRA_DEFINES" macro in the build
          386  +              properties file:
          387  +
          388  +                  "SQLite.Interop\props\SQLite.Interop.20YY.[vs]props"
          389  +
          390  +              for the corresponding version(s) of Visual Studio.
          391  +    -->
          392  +    <InteropIncludeExtra Condition="'$(InteropIncludeExtra)' == ''">false</InteropIncludeExtra>
          393  +
   359    394       <!--
   360    395           NOTE: Enable extra diagnostics from the custom built interop DLL (i.e.
   361    396                 "SQLite.Interop.dll")?  By default, this is enabled in the Debug
   362    397                 build configuration.  If this is disabled, no extra diagnostics
   363    398                 will be emitted.  If this is enabled, it must also be enabled via
   364    399                 the "INTEROP_DEBUG=XX" preprocessor define being present in the
   365    400                 "INTEROP_DEBUG_DEFINES" macro in the build properties file:

Changes to Tests/basic.eagle.

  1011   1011       set keys [list null Version Synchronous UseUTF16Encoding Pooling \
  1012   1012                      BinaryGUID "Data Source" Uri FullUri "Default Timeout" \
  1013   1013                      Enlist FailIfMissing "Legacy Format" "Read Only" \
  1014   1014                      Password "Page Size" "Max Page Count" "Cache Size" \
  1015   1015                      DateTimeFormat DateTimeKind DateTimeFormatString \
  1016   1016                      BaseSchemaName "Journal Mode" "Default IsolationLevel" \
  1017   1017                      "Foreign Keys" Flags SetDefaults ToFullPath HexPassword \
  1018         -                   DefaultDbType DefaultTypeName NoSharedFlags]
         1018  +                   DefaultDbType DefaultTypeName NoSharedFlags PrepareRetries]
  1019   1019   
  1020   1020       set values [list null 3 Normal True False \
  1021   1021                        True test.db test.db file:test.db 60 \
  1022   1022                        False True False True \
  1023   1023                        secret 4096 1024 8192 \
  1024   1024                        UnixEpoch Utc yyyy-MM-dd sqlite_schema \
  1025   1025                        Memory Serializable False \
  1026   1026                        Default False False 736563726574 String \
  1027         -                     TEXT True]
         1027  +                     TEXT True 20]
  1028   1028   
  1029   1029       set propertyNames [list null Version SyncMode UseUTF16Encoding Pooling \
  1030   1030                               BinaryGUID DataSource Uri FullUri DefaultTimeout \
  1031   1031                               Enlist FailIfMissing LegacyFormat ReadOnly \
  1032   1032                               Password PageSize MaxPageCount CacheSize \
  1033   1033                               DateTimeFormat DateTimeKind DateTimeFormatString \
  1034   1034                               BaseSchemaName JournalMode DefaultIsolationLevel \
  1035   1035                               ForeignKeys Flags SetDefaults ToFullPath \
  1036   1036                               HexPassword DefaultDbType DefaultTypeName \
  1037         -                            NoSharedFlags]
         1037  +                            NoSharedFlags PrepareRetries]
  1038   1038   
  1039   1039       foreach key $keys value $values propertyName $propertyNames {
  1040   1040         set code [catch {
  1041   1041           object invoke _Dynamic${id}.Test${id} GetConnectionString \
  1042   1042               $key $value $propertyName
  1043   1043         } result]
  1044   1044   
................................................................................
  1064   1064   DateTimeFormatString=yyyy-MM-dd\} 0 \{sqlite_schema,\
  1065   1065   BaseSchemaName=sqlite_schema\} 0 \{Memory, Journal Mode=Memory\} 0\
  1066   1066   \{Serializable, Default IsolationLevel=Serializable\} 0 \{False, Foreign\
  1067   1067   Keys=False\} 0 \{(?:Default|LogCallbackException),\
  1068   1068   Flags=(?:Default|LogCallbackException)\} 0 \{False, SetDefaults=False\} 0\
  1069   1069   \{False, ToFullPath=False\} 0 {736563726574, HexPassword=736563726574} 0\
  1070   1070   \{String, DefaultDbType=String\} 0 \{TEXT, DefaultTypeName=TEXT\} 0 \{True,\
  1071         -NoSharedFlags=True\}$}}
         1071  +NoSharedFlags=True\} 0 \{20, PrepareRetries=20\}$}}
  1072   1072   
  1073   1073   ###############################################################################
  1074   1074   
  1075   1075   runTest {test data-1.18 {SQLiteConvert ToDateTime (Julian Day)} -body {
  1076   1076     set dateTime [object invoke -create System.Data.SQLite.SQLiteConvert \
  1077   1077         ToDateTime 2455928.0 Utc]
  1078   1078   

Changes to Tests/common.eagle.

  3152   3152           #       are some compile-time options that must also have been enabled
  3153   3153           #       for the interop assembly in order to be effective.  For those
  3154   3154           #       options, it will be assumed that it was enabled for the interop
  3155   3155           #       assembly if it was enabled for the managed assembly.
  3156   3156           #
  3157   3157           foreach defineConstant [list \
  3158   3158               CHECK_STATE COUNT_HANDLE DEBUG INTEROP_CODEC INTEROP_DEBUG \
  3159         -            INTEROP_EXTENSION_FUNCTIONS INTEROP_INCLUDE_SEE \
  3160         -            INTEROP_LEGACY_CLOSE INTEROP_LOG INTEROP_TEST_EXTENSION \
  3161         -            INTEROP_VIRTUAL_TABLE NET_20 NET_35 NET_40 NET_45 NET_451 \
  3162         -            NET_COMPACT_20 PLATFORM_COMPACTFRAMEWORK PRELOAD_NATIVE_LIBRARY \
  3163         -            RETARGETABLE SQLITE_STANDARD THROW_ON_DISPOSED TRACE \
  3164         -            TRACE_CONNECTION TRACE_DETECTION TRACE_HANDLE TRACE_PRELOAD \
  3165         -            TRACE_SHARED TRACE_STATEMENT TRACE_WARNING TRACK_MEMORY_BYTES \
         3159  +            INTEROP_EXTENSION_FUNCTIONS INTEROP_INCLUDE_CEROD \
         3160  +            INTEROP_INCLUDE_EXTRA INTEROP_INCLUDE_SEE INTEROP_LEGACY_CLOSE \
         3161  +            INTEROP_LOG INTEROP_TEST_EXTENSION INTEROP_VIRTUAL_TABLE NET_20 \
         3162  +            NET_35 NET_40 NET_45 NET_451 NET_COMPACT_20 \
         3163  +            PLATFORM_COMPACTFRAMEWORK PRELOAD_NATIVE_LIBRARY RETARGETABLE \
         3164  +            SQLITE_STANDARD THROW_ON_DISPOSED TRACE TRACE_CONNECTION \
         3165  +            TRACE_DETECTION TRACE_HANDLE TRACE_PRELOAD TRACE_SHARED \
         3166  +            TRACE_STATEMENT TRACE_WARNING TRACK_MEMORY_BYTES \
  3166   3167               USE_ENTITY_FRAMEWORK_6 USE_INTEROP_DLL USE_PREPARE_V2 WINDOWS] {
  3167   3168             #
  3168   3169             # NOTE: Check if the compile-time option is listed in the list of
  3169   3170             #       "define constants" kept track of by the managed assembly.
  3170   3171             #
  3171   3172             checkForSQLiteDefineConstant $::test_channel $defineConstant
  3172   3173           }

Added Tests/tkt-647d282d11.eagle.

            1  +###############################################################################
            2  +#
            3  +# tkt-647d282d11.eagle --
            4  +#
            5  +# Written by Joe Mistachkin.
            6  +# Released to the public domain, use at your own risk!
            7  +#
            8  +###############################################################################
            9  +
           10  +package require Eagle
           11  +package require Eagle.Library
           12  +package require Eagle.Test
           13  +
           14  +runTestPrologue
           15  +
           16  +###############################################################################
           17  +
           18  +package require System.Data.SQLite.Test
           19  +runSQLiteTestPrologue
           20  +
           21  +###############################################################################
           22  +
           23  +runTest {test tkt-647d282d11-1.1 {Open with PrepareRetries} -setup {
           24  +  setupDb [set fileName tkt-647d282d11-1.1.db] "" "" "" "" PrepareRetries=10
           25  +} -body {
           26  +  set connection [getDbConnection]
           27  +
           28  +  list [object invoke $connection PrepareRetries] \
           29  +      [object invoke $connection PrepareRetries 20] \
           30  +      [object invoke $connection PrepareRetries]
           31  +} -cleanup {
           32  +  cleanupDb $fileName
           33  +
           34  +  freeDbConnection
           35  +
           36  +  unset -nocomplain db fileName
           37  +} -constraints \
           38  +{eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -result \
           39  +{10 {} 20}}
           40  +
           41  +###############################################################################
           42  +
           43  +runSQLiteTestEpilogue
           44  +runTestEpilogue

Changes to Tests/version.eagle.

    29     29   #       the source code files, the built binaries, and the release packages.
    30     30   #       The revision number is reserved for NuGet package versioning.
    31     31   #
    32     32   set version(major)             1
    33     33   set version(minor)             0
    34     34   set version(build)            95; # NOTE: Incremented with each release.
    35     35   set version(revision)          0
           36  +
           37  +###############################################################################
           38  +
           39  +#
           40  +# NOTE: What is the full version of the EntityFramework NuGet package (which
           41  +#       is not [necessarily] the same version as the assembly itself) in use
           42  +#       by the System.Data.SQLite NuGet packages?
           43  +#
           44  +set version(ef6) 6.1.2.0
    36     45   
    37     46   ###############################################################################
    38     47   # ********************* END VOLATILE VERSION INFORMATION **********************
    39     48   ###############################################################################
    40     49   
    41     50   #
    42     51   # NOTE: Build the full version number using the components setup above.  This
................................................................................
    44     53   #
    45     54   set version(full) [appendArgs $version(major) . $version(minor) . \
    46     55                                 $version(build) . $version(revision)]
    47     56   
    48     57   ###############################################################################
    49     58   
    50     59   #
    51         -# NOTE: Build the version number used for the NuGet packages.  This should
    52         -#       be the same as the above version number, with the exception of the
    53         -#       revision, which may differ.
           60  +# NOTE: Build the version number regular expression used for the NuGet
           61  +#       packages.  This should be the same as the above version number,
           62  +#       with the exception of the revision, which may differ.
    54     63   #
    55         -set version(nuget) [appendArgs $version(major) . $version(minor) . \
    56         -                               $version(build) . \\d+]
           64  +set version(nuget) [appendArgs $version(major) \\. $version(minor) \\. \
           65  +                               $version(build) \\. \\d+]
    57     66   
    58     67   ###############################################################################
    59     68   
    60     69   runTest {test version-1.1 {'System.Data.SQLite' binary version} -body {
    61     70     file version $systemDataSQLiteDllFile
    62     71   } -constraints {eagle file_System.Data.SQLite.dll} -result $version(full)}
    63     72   
................................................................................
   253    262       [appendArgs &quot\; [format %03d $version(build)] &quot\;]
   254    263   
   255    264   ###############################################################################
   256    265   # SQLite.nuspec
   257    266   ###############################################################################
   258    267   
   259    268   lappend patterns \
   260         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   261         -        </version>] \
          269  +    [appendArgs <version> $version(nuget) </version>] \
   262    270       [appendArgs " targetFramework=\"net20\".*? " \
   263    271           "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
   264    272           "\" "] \
   265    273       [appendArgs " targetFramework=\"net40\".*? " \
   266    274           "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
   267    275           "\" "] \
   268    276       [appendArgs " targetFramework=\"net45\".*? " \
................................................................................
   294    302           "\" "]
   295    303   
   296    304   ###############################################################################
   297    305   # SQLite.Beta.nuspec
   298    306   ###############################################################################
   299    307   
   300    308   lappend patterns \
   301         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   302         -        </version>] \
          309  +    [appendArgs <version> $version(nuget) </version>] \
   303    310       [appendArgs " targetFramework=\"net20\".*? " \
   304    311           "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
   305    312           $version(nuget) "\" "] \
   306    313       [appendArgs " targetFramework=\"net40\".*? " \
   307    314           "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
   308    315           $version(nuget) "\" "] \
   309    316       [appendArgs " targetFramework=\"net45\".*? " \
................................................................................
   335    342           $version(nuget) "\" "]
   336    343   
   337    344   ###############################################################################
   338    345   # SQLite.Core.nuspec
   339    346   ###############################################################################
   340    347   
   341    348   lappend patterns \
   342         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   343         -        </version>]
          349  +    [appendArgs <version> $version(nuget) </version>]
   344    350   
   345    351   ###############################################################################
   346    352   # SQLite.Core.Beta.nuspec
   347    353   ###############################################################################
   348    354   
   349    355   lappend patterns \
   350         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   351         -        </version>]
          356  +    [appendArgs <version> $version(nuget) </version>]
   352    357   
   353    358   ###############################################################################
   354    359   # SQLite.Core.Test.nuspec
   355    360   ###############################################################################
   356    361   
   357    362   lappend patterns \
   358         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   359         -        </version>]
          363  +    [appendArgs <version> $version(nuget) </version>]
   360    364   
   361    365   ###############################################################################
   362    366   # SQLite.Core.MSIL.nuspec
   363    367   ###############################################################################
   364    368   
   365    369   lappend patterns \
   366         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   367         -        </version>]
          370  +    [appendArgs <version> $version(nuget) </version>]
   368    371   
   369    372   ###############################################################################
   370    373   # SQLite.Core.MSIL.Beta.nuspec
   371    374   ###############################################################################
   372    375   
   373    376   lappend patterns \
   374         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   375         -        </version>]
          377  +    [appendArgs <version> $version(nuget) </version>]
   376    378   
   377    379   ###############################################################################
   378    380   # SQLite.Core.MSIL.Test.nuspec
   379    381   ###############################################################################
   380    382   
   381    383   lappend patterns \
   382         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   383         -        </version>]
          384  +    [appendArgs <version> $version(nuget) </version>]
   384    385   
   385    386   ###############################################################################
   386    387   # SQLite.EF6.nuspec
   387    388   ###############################################################################
   388    389   
   389    390   lappend patterns \
   390         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   391         -        </version>] \
   392         -    [appendArgs " targetFramework=\"net40\".*?\" version=\"" $version(nuget) \
   393         -        "\" "] \
   394         -    [appendArgs " targetFramework=\"net45\".*?\" version=\"" $version(nuget) \
   395         -        "\" "] \
   396         -    [appendArgs " targetFramework=\"net451\".*?\" version=\"" $version(nuget) \
   397         -        "\" "]
   398         -
   399         -###############################################################################
   400         -# SQLite.EF6.Beta.nuspec
   401         -###############################################################################
   402         -
   403         -lappend patterns \
   404         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   405         -        </version>] \
   406         -    [appendArgs " targetFramework=\"net40\".*?\" version=\"" $version(nuget) \
   407         -        "\" "] \
   408         -    [appendArgs " targetFramework=\"net45\".*?\" version=\"" $version(nuget) \
   409         -        "\" "] \
   410         -    [appendArgs " targetFramework=\"net451\".*?\" version=\"" $version(nuget) \
   411         -        "\" "]
          391  +    [appendArgs <version> $version(nuget) </version>] \
          392  +    [appendArgs " targetFramework=\"net40\".*? " \
          393  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          394  +        $version(ef6)] "\" "] \
          395  +    [appendArgs " targetFramework=\"net45\".*? " \
          396  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          397  +        $version(ef6)] "\" "] \
          398  +    [appendArgs " targetFramework=\"net451\".*? " \
          399  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          400  +        $version(ef6)] "\" "]
          401  +
          402  +###############################################################################
          403  +# SQLite.EF6.Beta.nuspec
          404  +###############################################################################
          405  +
          406  +lappend patterns \
          407  +    [appendArgs <version> $version(nuget) </version>] \
          408  +    [appendArgs " targetFramework=\"net40\".*? " \
          409  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          410  +        $version(ef6)] "\" "] \
          411  +    [appendArgs " targetFramework=\"net45\".*? " \
          412  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          413  +        $version(ef6)] "\" "] \
          414  +    [appendArgs " targetFramework=\"net451\".*? " \
          415  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          416  +        $version(ef6)] "\" "]
   412    417   
   413    418   ###############################################################################
   414    419   # SQLite.EF6.Test.nuspec
   415    420   ###############################################################################
   416    421   
   417    422   lappend patterns \
   418         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   419         -        </version>] \
   420         -    [appendArgs " targetFramework=\"net40\".*?\" version=\"" $version(nuget) \
   421         -        "\" "] \
   422         -    [appendArgs " targetFramework=\"net45\".*?\" version=\"" $version(nuget) \
   423         -        "\" "] \
   424         -    [appendArgs " targetFramework=\"net451\".*?\" version=\"" $version(nuget) \
   425         -        "\" "]
          423  +    [appendArgs <version> $version(nuget) </version>] \
          424  +    [appendArgs " targetFramework=\"net40\".*? " \
          425  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          426  +        $version(ef6)] "\" "] \
          427  +    [appendArgs " targetFramework=\"net45\".*? " \
          428  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          429  +        $version(ef6)] "\" "] \
          430  +    [appendArgs " targetFramework=\"net451\".*? " \
          431  +        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
          432  +        $version(ef6)] "\" "]
   426    433   
   427    434   ###############################################################################
   428    435   # SQLite.Linq.nuspec
   429    436   ###############################################################################
   430    437   
   431    438   lappend patterns \
   432         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   433         -        </version>] \
   434         -    [appendArgs " targetFramework=\"net20\".*?\" version=\"" $version(nuget) \
   435         -        "\" "] \
   436         -    [appendArgs " targetFramework=\"net40\".*?\" version=\"" $version(nuget) \
   437         -        "\" "] \
   438         -    [appendArgs " targetFramework=\"net45\".*?\" version=\"" $version(nuget) \
   439         -        "\" "] \
   440         -    [appendArgs " targetFramework=\"net451\".*?\" version=\"" $version(nuget) \
   441         -        "\" "]
          439  +    [appendArgs <version> $version(nuget) </version>]
   442    440   
   443    441   ###############################################################################
   444    442   # SQLite.Linq.Beta.nuspec
   445    443   ###############################################################################
   446    444   
   447    445   lappend patterns \
   448         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   449         -        </version>] \
   450         -    [appendArgs " targetFramework=\"net20\".*?\" version=\"" $version(nuget) \
   451         -        "\" "] \
   452         -    [appendArgs " targetFramework=\"net40\".*?\" version=\"" $version(nuget) \
   453         -        "\" "] \
   454         -    [appendArgs " targetFramework=\"net45\".*?\" version=\"" $version(nuget) \
   455         -        "\" "] \
   456         -    [appendArgs " targetFramework=\"net451\".*?\" version=\"" $version(nuget) \
   457         -        "\" "]
          446  +    [appendArgs <version> $version(nuget) </version>]
   458    447   
   459    448   ###############################################################################
   460    449   # SQLite.Linq.Test.nuspec
   461    450   ###############################################################################
   462    451   
   463    452   lappend patterns \
   464         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   465         -        </version>] \
   466         -    [appendArgs " targetFramework=\"net20\".*?\" version=\"" $version(nuget) \
   467         -        "\" "] \
   468         -    [appendArgs " targetFramework=\"net40\".*?\" version=\"" $version(nuget) \
   469         -        "\" "] \
   470         -    [appendArgs " targetFramework=\"net45\".*?\" version=\"" $version(nuget) \
   471         -        "\" "] \
   472         -    [appendArgs " targetFramework=\"net451\".*?\" version=\"" $version(nuget) \
   473         -        "\" "]
          453  +    [appendArgs <version> $version(nuget) </version>]
   474    454   
   475    455   ###############################################################################
   476    456   # SQLite.MSIL.nuspec
   477    457   ###############################################################################
   478    458   
   479    459   lappend patterns \
   480         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   481         -        </version>]
          460  +    [appendArgs <version> $version(nuget) </version>] \
          461  +    [appendArgs " targetFramework=\"net20\".*? " \
          462  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
          463  +        $version(nuget) "\" "] \
          464  +    [appendArgs " targetFramework=\"net40\".*? " \
          465  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
          466  +        $version(nuget) "\" "] \
          467  +    [appendArgs " targetFramework=\"net45\".*? " \
          468  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
          469  +        $version(nuget) "\" "] \
          470  +    [appendArgs " targetFramework=\"net451\".*? " \
          471  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
          472  +        $version(nuget) "\" "] \
          473  +    [appendArgs " targetFramework=\"net20\".*? " \
          474  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          475  +        "\" "] \
          476  +    [appendArgs " targetFramework=\"net40\".*? " \
          477  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          478  +        "\" "] \
          479  +    [appendArgs " targetFramework=\"net45\".*? " \
          480  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          481  +        "\" "] \
          482  +    [appendArgs " targetFramework=\"net451\".*? " \
          483  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          484  +        "\" "] \
          485  +    [appendArgs " targetFramework=\"net40\".*? " \
          486  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          487  +        "\" "] \
          488  +    [appendArgs " targetFramework=\"net45\".*? " \
          489  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          490  +        "\" "] \
          491  +    [appendArgs " targetFramework=\"net451\".*? " \
          492  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          493  +        "\" "]
   482    494   
   483    495   ###############################################################################
   484    496   # SQLite.MSIL.Beta.nuspec
   485    497   ###############################################################################
   486    498   
   487    499   lappend patterns \
   488         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   489         -        </version>]
          500  +    [appendArgs <version> $version(nuget) </version>] \
          501  +    [appendArgs " targetFramework=\"net20\".*? " \
          502  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
          503  +        $version(nuget) "\" "] \
          504  +    [appendArgs " targetFramework=\"net40\".*? " \
          505  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
          506  +        $version(nuget) "\" "] \
          507  +    [appendArgs " targetFramework=\"net45\".*? " \
          508  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
          509  +        $version(nuget) "\" "] \
          510  +    [appendArgs " targetFramework=\"net451\".*? " \
          511  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
          512  +        $version(nuget) "\" "] \
          513  +    [appendArgs " targetFramework=\"net20\".*? " \
          514  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
          515  +        $version(nuget) "\" "] \
          516  +    [appendArgs " targetFramework=\"net40\".*? " \
          517  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
          518  +        $version(nuget) "\" "] \
          519  +    [appendArgs " targetFramework=\"net45\".*? " \
          520  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
          521  +        $version(nuget) "\" "] \
          522  +    [appendArgs " targetFramework=\"net451\".*? " \
          523  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
          524  +        $version(nuget) "\" "] \
          525  +    [appendArgs " targetFramework=\"net40\".*? " \
          526  +        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
          527  +        $version(nuget) "\" "] \
          528  +    [appendArgs " targetFramework=\"net45\".*? " \
          529  +        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
          530  +        $version(nuget) "\" "] \
          531  +    [appendArgs " targetFramework=\"net451\".*? " \
          532  +        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
          533  +        $version(nuget) "\" "]
   490    534   
   491    535   ###############################################################################
   492    536   # SQLite.MSIL.Test.nuspec
   493    537   ###############################################################################
   494    538   
   495    539   lappend patterns \
   496         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   497         -        </version>]
          540  +    [appendArgs <version> $version(nuget) </version>] \
          541  +    [appendArgs " targetFramework=\"net20\".*? " \
          542  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
          543  +        $version(nuget) "\" "] \
          544  +    [appendArgs " targetFramework=\"net40\".*? " \
          545  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
          546  +        $version(nuget) "\" "] \
          547  +    [appendArgs " targetFramework=\"net45\".*? " \
          548  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
          549  +        $version(nuget) "\" "] \
          550  +    [appendArgs " targetFramework=\"net451\".*? " \
          551  +        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
          552  +        $version(nuget) "\" "] \
          553  +    [appendArgs " targetFramework=\"net20\".*? " \
          554  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
          555  +        $version(nuget) "\" "] \
          556  +    [appendArgs " targetFramework=\"net40\".*? " \
          557  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
          558  +        $version(nuget) "\" "] \
          559  +    [appendArgs " targetFramework=\"net45\".*? " \
          560  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
          561  +        $version(nuget) "\" "] \
          562  +    [appendArgs " targetFramework=\"net451\".*? " \
          563  +        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
          564  +        $version(nuget) "\" "] \
          565  +    [appendArgs " targetFramework=\"net40\".*? " \
          566  +        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
          567  +        $version(nuget) "\" "] \
          568  +    [appendArgs " targetFramework=\"net45\".*? " \
          569  +        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
          570  +        $version(nuget) "\" "] \
          571  +    [appendArgs " targetFramework=\"net451\".*? " \
          572  +        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
          573  +        $version(nuget) "\" "]
   498    574   
   499    575   ###############################################################################
   500    576   # SQLite.Test.nuspec
   501    577   ###############################################################################
   502    578   
   503    579   lappend patterns \
   504         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   505         -        </version>] \
          580  +    [appendArgs <version> $version(nuget) </version>] \
   506    581       [appendArgs " targetFramework=\"net20\".*? " \
   507    582           "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
   508    583           $version(nuget) "\" "] \
   509    584       [appendArgs " targetFramework=\"net40\".*? " \
   510    585           "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
   511    586           $version(nuget) "\" "] \
   512    587       [appendArgs " targetFramework=\"net45\".*? " \
................................................................................
   538    613           $version(nuget) "\" "]
   539    614   
   540    615   ###############################################################################
   541    616   # SQLite.x64.nuspec
   542    617   ###############################################################################
   543    618   
   544    619   lappend patterns \
   545         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   546         -        </version>]
          620  +    [appendArgs <version> $version(nuget) </version>] \
          621  +    [appendArgs " targetFramework=\"net20\".*? " \
          622  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          623  +        "\" "] \
          624  +    [appendArgs " targetFramework=\"net40\".*? " \
          625  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          626  +        "\" "] \
          627  +    [appendArgs " targetFramework=\"net45\".*? " \
          628  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          629  +        "\" "] \
          630  +    [appendArgs " targetFramework=\"net451\".*? " \
          631  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          632  +        "\" "] \
          633  +    [appendArgs " targetFramework=\"net40\".*? " \
          634  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          635  +        "\" "] \
          636  +    [appendArgs " targetFramework=\"net45\".*? " \
          637  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          638  +        "\" "] \
          639  +    [appendArgs " targetFramework=\"net451\".*? " \
          640  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          641  +        "\" "]
   547    642   
   548    643   ###############################################################################
   549    644   # SQLite.x86.nuspec
   550    645   ###############################################################################
   551    646   
   552    647   lappend patterns \
   553         -    [appendArgs <version> [string map [list . \\.] $version(nuget)] \
   554         -        </version>]
          648  +    [appendArgs <version> $version(nuget) </version>] \
          649  +    [appendArgs " targetFramework=\"net20\".*? " \
          650  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          651  +        "\" "] \
          652  +    [appendArgs " targetFramework=\"net40\".*? " \
          653  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          654  +        "\" "] \
          655  +    [appendArgs " targetFramework=\"net45\".*? " \
          656  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          657  +        "\" "] \
          658  +    [appendArgs " targetFramework=\"net451\".*? " \
          659  +        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
          660  +        "\" "] \
          661  +    [appendArgs " targetFramework=\"net40\".*? " \
          662  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          663  +        "\" "] \
          664  +    [appendArgs " targetFramework=\"net45\".*? " \
          665  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          666  +        "\" "] \
          667  +    [appendArgs " targetFramework=\"net451\".*? " \
          668  +        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
          669  +        "\" "]
   555    670   
   556    671   ###############################################################################
   557    672   # SQLite.Designer/AssemblyInfo.cs
   558    673   ###############################################################################
   559    674   
   560    675   lappend patterns \
   561    676       [appendArgs AssemblyVersion\\(\" [string map [list . \\.] \
................................................................................
   840    955       [file join NuGet SQLite.EF6.Beta.nuspec] \
   841    956       [file join NuGet SQLite.EF6.Beta.nuspec] \
   842    957       [file join NuGet SQLite.EF6.Test.nuspec] \
   843    958       [file join NuGet SQLite.EF6.Test.nuspec] \
   844    959       [file join NuGet SQLite.EF6.Test.nuspec] \
   845    960       [file join NuGet SQLite.EF6.Test.nuspec] \
   846    961       [file join NuGet SQLite.Linq.nuspec] \
   847         -    [file join NuGet SQLite.Linq.nuspec] \
   848         -    [file join NuGet SQLite.Linq.nuspec] \
   849         -    [file join NuGet SQLite.Linq.nuspec] \
   850         -    [file join NuGet SQLite.Linq.nuspec] \
   851         -    [file join NuGet SQLite.Linq.Beta.nuspec] \
   852         -    [file join NuGet SQLite.Linq.Beta.nuspec] \
   853         -    [file join NuGet SQLite.Linq.Beta.nuspec] \
   854         -    [file join NuGet SQLite.Linq.Beta.nuspec] \
   855    962       [file join NuGet SQLite.Linq.Beta.nuspec] \
   856    963       [file join NuGet SQLite.Linq.Test.nuspec] \
   857         -    [file join NuGet SQLite.Linq.Test.nuspec] \
   858         -    [file join NuGet SQLite.Linq.Test.nuspec] \
   859         -    [file join NuGet SQLite.Linq.Test.nuspec] \
   860         -    [file join NuGet SQLite.Linq.Test.nuspec] \
          964  +    [file join NuGet SQLite.MSIL.nuspec] \
          965  +    [file join NuGet SQLite.MSIL.nuspec] \
          966  +    [file join NuGet SQLite.MSIL.nuspec] \
          967  +    [file join NuGet SQLite.MSIL.nuspec] \
          968  +    [file join NuGet SQLite.MSIL.nuspec] \
          969  +    [file join NuGet SQLite.MSIL.nuspec] \
          970  +    [file join NuGet SQLite.MSIL.nuspec] \
          971  +    [file join NuGet SQLite.MSIL.nuspec] \
          972  +    [file join NuGet SQLite.MSIL.nuspec] \
          973  +    [file join NuGet SQLite.MSIL.nuspec] \
          974  +    [file join NuGet SQLite.MSIL.nuspec] \
   861    975       [file join NuGet SQLite.MSIL.nuspec] \
   862    976       [file join NuGet SQLite.MSIL.Beta.nuspec] \
          977  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          978  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          979  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          980  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          981  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          982  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          983  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          984  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          985  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          986  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          987  +    [file join NuGet SQLite.MSIL.Beta.nuspec] \
          988  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          989  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          990  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          991  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          992  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          993  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          994  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          995  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          996  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          997  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
          998  +    [file join NuGet SQLite.MSIL.Test.nuspec] \
   863    999       [file join NuGet SQLite.MSIL.Test.nuspec] \
   864   1000       [file join NuGet SQLite.Test.nuspec] \
   865   1001       [file join NuGet SQLite.Test.nuspec] \
   866   1002       [file join NuGet SQLite.Test.nuspec] \
   867   1003       [file join NuGet SQLite.Test.nuspec] \
   868   1004       [file join NuGet SQLite.Test.nuspec] \
   869   1005       [file join NuGet SQLite.Test.nuspec] \
................................................................................
   870   1006       [file join NuGet SQLite.Test.nuspec] \
   871   1007       [file join NuGet SQLite.Test.nuspec] \
   872   1008       [file join NuGet SQLite.Test.nuspec] \
   873   1009       [file join NuGet SQLite.Test.nuspec] \
   874   1010       [file join NuGet SQLite.Test.nuspec] \
   875   1011       [file join NuGet SQLite.Test.nuspec] \
   876   1012       [file join NuGet SQLite.x64.nuspec] \
         1013  +    [file join NuGet SQLite.x64.nuspec] \
         1014  +    [file join NuGet SQLite.x64.nuspec] \
         1015  +    [file join NuGet SQLite.x64.nuspec] \
         1016  +    [file join NuGet SQLite.x64.nuspec] \
         1017  +    [file join NuGet SQLite.x64.nuspec] \
         1018  +    [file join NuGet SQLite.x64.nuspec] \
         1019  +    [file join NuGet SQLite.x64.nuspec] \
         1020  +    [file join NuGet SQLite.x86.nuspec] \
         1021  +    [file join NuGet SQLite.x86.nuspec] \
         1022  +    [file join NuGet SQLite.x86.nuspec] \
         1023  +    [file join NuGet SQLite.x86.nuspec] \
         1024  +    [file join NuGet SQLite.x86.nuspec] \
         1025  +    [file join NuGet SQLite.x86.nuspec] \
         1026  +    [file join NuGet SQLite.x86.nuspec] \
   877   1027       [file join NuGet SQLite.x86.nuspec] \
   878   1028       [file join SQLite.Designer AssemblyInfo.cs] \
   879   1029       [file join SQLite.Designer AssemblyInfo.cs] \
   880   1030       [file join SQLite.Designer source.extension.vsixmanifest] \
   881   1031       [file join SQLite.Interop props SQLite.Interop.2005.vsprops] \
   882   1032       [file join SQLite.Interop props SQLite.Interop.2005.vsprops] \
   883   1033       [file join SQLite.Interop props SQLite.Interop.2005.vsprops] \

Changes to readme.htm.

   211    211   <p>
   212    212       <b>1.0.95.0 - February XX, 2015 <font color="red">(release scheduled)</font></b>
   213    213   </p>
   214    214   <ul>
   215    215       <li>Updated to <a href="https://www.sqlite.org/releaselog/3_8_8_2.html">SQLite 3.8.8.2</a>.</li>
   216    216       <li>Updated to <a href="https://www.nuget.org/packages/EntityFramework/6.1.2">Entity Framework 6.1.2</a>.</li>
   217    217       <li>Modify configuration file transforms performed by the NuGet packages to allow Entity Framework 6 design-time integration to work automatically. Fix for [2be4298631], [abad7c577d], and [417d669435].</li>
          218  +    <li>The &quot;System.Data.SQLite.EF6*&quot; and &quot;System.Data.SQLite.Linq*&quot; NuGet packages no longer depend on the &quot;System.Data.SQLite.Core*&quot; packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
          219  +    <li>The &quot;System.Data.SQLite.MSIL*&quot; NuGet packages no longer directly include any files; they are now meta-packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
          220  +    <li>The &quot;System.Data.SQLite.x86*&quot; and &quot;System.Data.SQLite.x64*&quot; NuGet packages now depend on the &quot;System.Data.SQLite.Linq&quot; and &quot;System.Data.SQLite.EF6&quot; NuGet packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
   218    221       <li>Make sure SQL statements generated for DbUpdateCommandTree objects are properly delimited.</li>
   219    222       <li>Make sure SQLiteIndexOutputs.ConstraintUsages instances are created prior to calling ISQLiteManagedModule.BestIndex. Fix for [56f511d268].</li>
   220    223       <li>Correct marshalling of strings and blobs in the SQLiteValue class. Fix for [85b824b736].</li>
   221    224       <li>Various minor performance enhancements to the SQLiteDataReader class. Pursuant to [e122d26e70].</li>
   222    225       <li>Defer disposing of connections created by the static SQLiteCommand.Execute method when a data reader is returned. Fix for [daeaf3150a].</li>
   223    226       <li>Wrap SELECT statements in parenthesis if they have an ORDER BY, LIMIT, or OFFSET clause and a compound operator is involved. Fix for [0a32885109].</li>
   224    227       <li>In the SQLiteDataReader.VerifyType method, remove duplicate &quot;if&quot; statement for the DbType.SByte value and move the remaining &quot;if&quot; to the Int64 affinity. Fix for [c5cc2fb334].&nbsp;<b>** Potentially Incompatible Change **</b></li>
................................................................................
   225    228       <li>Handle Julian Day values that fall outside of the supported range for OLE Automation dates. Fix for [3e783eecbe].&nbsp;<b>** Potentially Incompatible Change **</b></li>
   226    229       <li>Make sure the interop files are copied when publishing a project that refers to a NuGet package containing them. Fix for [e796ac82c1].&nbsp;<b>** Potentially Incompatible Change **</b></li>
   227    230       <li>Make sure the interop files are copied before the PostBuildEvent. Fix for [f16c93a932].&nbsp;<b>** Potentially Incompatible Change **</b></li>
   228    231       <li>Modify GetSchemaTable method to avoid setting SchemaTableColumn.IsKey column to true when more than one table is referenced. Fix for [47c6fa04d3].&nbsp;<b>** Potentially Incompatible Change **</b></li>
   229    232       <li>Add AppendManifestToken_SQLiteProviderManifest environment variable to enable better integration between LINQ and the underlying store connection.</li>
   230    233       <li>Add SQLite_ForceLogPrepare environment variable to force logging of all prepared SQL regardless of the flags for the associated connection.</li>
   231    234       <li>Honor the DateTimeFormat, DateTimeKind, DateTimeFormatString, BinaryGUID connection string and/or provider manifest token properties from within the LINQ assembly. Fix for [8d928c3e88].&nbsp;<b>** Potentially Incompatible Change **</b></li>
          235  +    <li>Add PrepareRetries connection string property to allow the maximum number of retries when preparing a query to be overridden. Fix for [647d282d11].</li>
   232    236   </ul>
   233    237   <p>
   234    238       <b>1.0.94.0 - September 9, 2014</b>
   235    239   </p>
   236    240   <ul>
   237    241       <li>Updated to <a href="https://www.sqlite.org/releaselog/3_8_6.html">SQLite 3.8.6</a>.</li>
   238    242       <li>Updated to <a href="https://www.nuget.org/packages/EntityFramework/6.1.1">Entity Framework 6.1.1</a>.</li>

Changes to test/TestCases.cs.

    78     78       internal void CheckSQLite()
    79     79       {
    80     80         if (_fact.GetType().Name.IndexOf("SQLite", StringComparison.OrdinalIgnoreCase) == -1)
    81     81           throw new InconclusiveException("Not a SQLite database");
    82     82       }
    83     83   
    84     84   /*
    85         - * NOTE: Using SEE for this particular test case is unsupported because we have
    86         - *       no easy way of executing the necessary SQL beforehand.
           85  + * NOTE: Using SEE for this particular test case is currently unsupported
           86  + *       because we have no easy way of executing the SQL beforehand that
           87  + *       is needed to set it up.
    87     88    */
    88     89   
    89     90   #if INTEROP_CODEC // || INTEROP_INCLUDE_SEE
    90     91       /// <summary>
    91     92       /// Tests changing password on an encrypted database.
    92     93       /// </summary>
    93     94       [Test]

Changes to www/downloads.wiki.

  1984   1984         </td>
  1985   1985         <td width="5"></td>
  1986   1986         <td valign="top">
  1987   1987           This NuGet package contains just the binaries to support Entity
  1988   1988           Framework 6 using System.Data.SQLite 1.0.95.0 (3.8.8.2).  The .NET
  1989   1989           Framework 4.0, 4.5, or 4.5.1 is required.
  1990   1990           <br />
  1991         -        <big><b>This package depends on both the
  1992         -        &quot;System.Data.SQLite.Core&quot; and &quot;EntityFramework&quot;
  1993         -        packages.</b></big>
         1991  +        <big><b>This package depends on the &quot;EntityFramework&quot;
         1992  +        package.</b></big>
  1994   1993           <br />
  1995   1994           (sha1: 38a123d32d8f6ed3d56b4915394c3207526e7637)
  1996   1995         </td>
  1997   1996       </tr>
  1998   1997   
  1999   1998       <tr>
  2000   1999         <td width="10">&nbsp;</td>
................................................................................
  2005   2004         </td>
  2006   2005         <td width="5"></td>
  2007   2006         <td valign="top">
  2008   2007           This NuGet package contains just the binaries to support LINQ using
  2009   2008           System.Data.SQLite 1.0.95.0 (3.8.8.2).  The .NET Framework 3.5 SP1, 4.0,
  2010   2009           4.5, or 4.5.1 is required.
  2011   2010           <br />
  2012         -        <big><b>This package depends on the &quot;System.Data.SQLite.Core&quot;
  2013         -        package.</b></big>
         2011  +        <big><b>This package does not depend on any other package.</b></big>
  2014   2012           <br />
  2015   2013           (sha1: 8984abae64ec2a49641a6ba15dc80ef60838ca98)
  2016   2014         </td>
  2017   2015       </tr>
  2018   2016   
  2019   2017       <tr>
  2020   2018         <td width="10">&nbsp;</td>
................................................................................
  2026   2024         <td width="5"></td>
  2027   2025         <td valign="top">
  2028   2026           This NuGet package contains the managed binaries for System.Data.SQLite
  2029   2027           1.0.95.0.  The .NET Framework 3.5 SP1, 4.0, 4.5, or 4.5.1 is required.
  2030   2028           <br />
  2031   2029           <big><b>This is a legacy package; if possible, please use either the
  2032   2030           &quot;System.Data.SQLite&quot; or &quot;System.Data.SQLite.Core&quot;
  2033         -        package instead.  This package depends on the &quot;EntityFramework&quot;
  2034         -        package.</b></big>
         2031  +        package instead.</b></big>
  2035   2032           <br />
  2036   2033           <br />
  2037   2034           <big><b><i>This NuGet package does not include any code from the native
  2038   2035           SQLite core library and will not work properly without the native
  2039   2036           assembly &quot;SQLite.Interop.dll&quot; compiled for the processor
  2040   2037           architecture of the host process being present in a directory in the
  2041   2038           native library search path.</i></b></big>
  2042   2039           <br />
         2040  +        <br />
         2041  +        <big><b><i>As of version 1.0.95.0, this package will not directly
         2042  +        contain any of the required binaries. Instead, this package will
         2043  +        depend on the &quot;System.Data.SQLite.Core.MSIL&quot;,
         2044  +        &quot;System.Data.SQLite.Linq&quot;, and
         2045  +        &quot;System.Data.SQLite.EF6&quot; packages.</i></b></big>
         2046  +        <br />
  2043   2047           <br />
  2044   2048           (sha1: d3d5abdde0f39e244432ec8ae2084a51ea9cd9ef)
  2045   2049         </td>
  2046   2050       </tr>
  2047   2051   
  2048   2052       <tr>
  2049   2053         <td width="10">&nbsp;</td>
................................................................................
  2058   2062           System.Data.SQLite 1.0.95.0 (3.8.8.2).  The .NET Framework 3.5 SP1,
  2059   2063           4.0, 4.5, or 4.5.1 is required.  For the included native binaries, the
  2060   2064           version of the Visual C++ runtime corresponding to the .NET Framework
  2061   2065           used by the associated managed assembly is statically linked.
  2062   2066           <br />
  2063   2067           <big><b>This is a legacy package; if possible, please use either the
  2064   2068           &quot;System.Data.SQLite&quot; or &quot;System.Data.SQLite.Core&quot;
  2065         -        package instead.  This package depends on the &quot;EntityFramework&quot;
  2066         -        package.</b></big>
         2069  +        package instead.</b></big>
  2067   2070           <br />
  2068   2071           (sha1: 63cee7bb755c5e411fa12ac16241efb03982fb28)
  2069   2072         </td>
  2070   2073       </tr>
  2071   2074   
  2072   2075       <tr>
  2073   2076         <td width="10">&nbsp;</td>
................................................................................
  2082   2085           System.Data.SQLite 1.0.95.0 (3.8.8.2).  The .NET Framework 3.5 SP1,
  2083   2086           4.0, 4.5, or 4.5.1 is required.  For the included native binaries, the
  2084   2087           version of the Visual C++ runtime corresponding to the .NET Framework
  2085   2088           used by the associated managed assembly is statically linked.
  2086   2089           <br />
  2087   2090           <big><b>This is a legacy package; if possible, please use either the
  2088   2091           &quot;System.Data.SQLite&quot; or &quot;System.Data.SQLite.Core&quot;
  2089         -        package instead.  This package depends on the
  2090         -        &quot;EntityFramework&quot; package.</b></big>
         2092  +        package instead.</b></big>
  2091   2093           <br />
  2092   2094           (sha1: 4d8e58bd75a7b0cb831f417ca6926d8868d523b8)
  2093   2095         </td>
  2094   2096       </tr>
  2095   2097   
  2096   2098       <tr>
  2097   2099         <td colspan="4">

Changes to www/news.wiki.

     5      5   <p>
     6      6       <b>1.0.95.0 - February XX, 2015 <font color="red">(release scheduled)</font></b>
     7      7   </p>
     8      8   <ul>
     9      9       <li>Updated to [https://www.sqlite.org/releaselog/3_8_8_2.html|SQLite 3.8.8.2].</li>
    10     10       <li>Updated to [https://www.nuget.org/packages/EntityFramework/6.1.2|Entity Framework 6.1.2].</li>
    11     11       <li>Modify configuration file transforms performed by the NuGet packages to allow Entity Framework 6 design-time integration to work automatically. Fix for [2be4298631], [abad7c577d], and [417d669435].</li>
           12  +    <li>The &quot;System.Data.SQLite.EF6*&quot; and &quot;System.Data.SQLite.Linq*&quot; NuGet packages no longer depend on the &quot;System.Data.SQLite.Core*&quot; packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
           13  +    <li>The &quot;System.Data.SQLite.MSIL*&quot; NuGet packages no longer directly include any files; they are now meta-packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
           14  +    <li>The &quot;System.Data.SQLite.x86*&quot; and &quot;System.Data.SQLite.x64*&quot; NuGet packages now depend on the &quot;System.Data.SQLite.Linq&quot; and &quot;System.Data.SQLite.EF6&quot; NuGet packages.&nbsp;<b>** Potentially Incompatible Change **</b></li>
    12     15       <li>Make sure SQL statements generated for DbUpdateCommandTree objects are properly delimited.</li>
    13     16       <li>Make sure SQLiteIndexOutputs.ConstraintUsages instances are created prior to calling ISQLiteManagedModule.BestIndex. Fix for [56f511d268].</li>
    14     17       <li>Correct marshalling of strings and blobs in the SQLiteValue class. Fix for [85b824b736].</li>
    15     18       <li>Various minor performance enhancements to the SQLiteDataReader class. Pursuant to [e122d26e70].</li>
    16     19       <li>Defer disposing of connections created by the static SQLiteCommand.Execute method when a data reader is returned. Fix for [daeaf3150a].</li>
    17     20       <li>Wrap SELECT statements in parenthesis if they have an ORDER BY, LIMIT, or OFFSET clause and a compound operator is involved. Fix for [0a32885109].</li>
    18     21       <li>In the SQLiteDataReader.VerifyType method, remove duplicate &quot;if&quot; statement for the DbType.SByte value and move the remaining &quot;if&quot; to the Int64 affinity.  Fix for [c5cc2fb334].&nbsp;<b>** Potentially Incompatible Change **</b></li>
................................................................................
    19     22       <li>Handle Julian Day values that fall outside of the supported range for OLE Automation dates. Fix for [3e783eecbe].&nbsp;<b>** Potentially Incompatible Change **</b></li>
    20     23       <li>Make sure the interop files are copied when publishing a project that refers to a NuGet package containing them. Fix for [e796ac82c1].&nbsp;<b>** Potentially Incompatible Change **</b></li>
    21     24       <li>Make sure the interop files are copied before the PostBuildEvent. Fix for [f16c93a932].&nbsp;<b>** Potentially Incompatible Change **</b></li>
    22     25       <li>Modify GetSchemaTable method to avoid setting SchemaTableColumn.IsKey column to true when more than one table is referenced. Fix for [47c6fa04d3].&nbsp;<b>** Potentially Incompatible Change **</b></li>
    23     26       <li>Add AppendManifestToken_SQLiteProviderManifest environment variable to enable better integration between LINQ and the underlying store connection.</li>
    24     27       <li>Add SQLite_ForceLogPrepare environment variable to force logging of all prepared SQL regardless of the flags for the associated connection.</li>
    25     28       <li>Honor the DateTimeFormat, DateTimeKind, DateTimeFormatString, BinaryGUID connection string and/or provider manifest token properties from within the LINQ assembly. Fix for [8d928c3e88].&nbsp;<b>** Potentially Incompatible Change **</b></li>
           29  +    <li>Add PrepareRetries connection string property to allow the maximum number of retries when preparing a query to be overridden. Fix for [647d282d11].</li>
    26     30   </ul>
    27     31   <p>
    28     32       <b>1.0.94.0 - September 9, 2014</b>
    29     33   </p>
    30     34   <ul>
    31     35       <li>Updated to [https://www.sqlite.org/releaselog/3_8_6.html|SQLite 3.8.6].</li>
    32     36       <li>Updated to [https://www.nuget.org/packages/EntityFramework/6.1.1|Entity Framework 6.1.1].</li>