System.Data.SQLite
Check-in [e55487b0b4]
Not logged in

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

Overview
Comment:More updates for the .NET Framework 4.6.x.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e55487b0b46196b426df42f6a1130b85e30c8084
User & Date: mistachkin 2016-08-30 00:09:21
Context
2016-08-30
00:49
Revise a diagnostic message in the native library pre-loader. In the test suite infrastructure, always check for ::tcl_platform(machine) before trying to use it. check-in: 2bce278174 user: mistachkin tags: trunk
00:09
More updates for the .NET Framework 4.6.x. check-in: e55487b0b4 user: mistachkin tags: trunk
2016-08-29
23:16
The 'tkt-58ed318f2f-1.14' test requires using the SQLite interop assembly (i.e. not the mixed-mode assembly). check-in: bc7b1fd0d9 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to SQLite.Designer/SQLiteOptions.cs.

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
...
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
...
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
...
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
...
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
        /// design-time components.  It is also the default value for the
        /// associated option key.
        /// </summary>
        private static readonly string LegacyProviderName = "System.Data.SQLite";

        ///////////////////////////////////////////////////////////////////////

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
        /// <summary>
        /// This is the provider name used when Entity Framework 6.x support is
        /// required for use with the System.Data.SQLite design-time components.
        /// This provider name is only available when this class is compiled for
        /// the .NET Framework 4.0 or later.
        /// </summary>
        private static readonly string Ef6ProviderName = "System.Data.SQLite.EF6";
................................................................................

                string key = ProviderNameKey;
                string value = Environment.GetEnvironmentVariable(
                    ProviderNameEnvVarName);

                if (IsValidValue(key, value))
                    options[key] = value;
#if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461
                else
                    options[key] = LegacyProviderName;
#endif
            }
        }
        #endregion

................................................................................
        /// <returns>
        /// The configured ADO.NET provider name for System.Data.SQLite -OR-
        /// the default ADO.NET provider name for System.Data.SQLite in the
        /// event of any failure.  This method cannot return null.
        /// </returns>
        public static string GetProviderName()
        {
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
            return GetProviderName(Ef6ProviderName);
#else
            return GetProviderName(LegacyProviderName);
#endif
        }

        ///////////////////////////////////////////////////////////////////////
................................................................................
            int result = 0;

            if (items == null)
                return result;

            IList<string> names = new List<string>();

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
            names.Add(Ef6ProviderName);
#endif

            names.Add(LegacyProviderName);

            foreach (string name in names)
            {
................................................................................
            string value
            )
        {
            if (String.Equals(
                    key, ProviderNameKey, StringComparison.Ordinal) &&
                (String.Equals(
                    value, LegacyProviderName, StringComparison.Ordinal)
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
                || String.Equals(
                    value, Ef6ProviderName, StringComparison.Ordinal)
#endif
                ))
            {
                return true;
            }







|







 







|







 







|







 







|







 







|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
...
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
...
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
...
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
...
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
        /// design-time components.  It is also the default value for the
        /// associated option key.
        /// </summary>
        private static readonly string LegacyProviderName = "System.Data.SQLite";

        ///////////////////////////////////////////////////////////////////////

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
        /// <summary>
        /// This is the provider name used when Entity Framework 6.x support is
        /// required for use with the System.Data.SQLite design-time components.
        /// This provider name is only available when this class is compiled for
        /// the .NET Framework 4.0 or later.
        /// </summary>
        private static readonly string Ef6ProviderName = "System.Data.SQLite.EF6";
................................................................................

                string key = ProviderNameKey;
                string value = Environment.GetEnvironmentVariable(
                    ProviderNameEnvVarName);

                if (IsValidValue(key, value))
                    options[key] = value;
#if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461 && !NET_462
                else
                    options[key] = LegacyProviderName;
#endif
            }
        }
        #endregion

................................................................................
        /// <returns>
        /// The configured ADO.NET provider name for System.Data.SQLite -OR-
        /// the default ADO.NET provider name for System.Data.SQLite in the
        /// event of any failure.  This method cannot return null.
        /// </returns>
        public static string GetProviderName()
        {
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
            return GetProviderName(Ef6ProviderName);
#else
            return GetProviderName(LegacyProviderName);
#endif
        }

        ///////////////////////////////////////////////////////////////////////
................................................................................
            int result = 0;

            if (items == null)
                return result;

            IList<string> names = new List<string>();

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
            names.Add(Ef6ProviderName);
#endif

            names.Add(LegacyProviderName);

            foreach (string name in names)
            {
................................................................................
            string value
            )
        {
            if (String.Equals(
                    key, ProviderNameKey, StringComparison.Ordinal) &&
                (String.Equals(
                    value, LegacyProviderName, StringComparison.Ordinal)
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
                || String.Equals(
                    value, Ef6ProviderName, StringComparison.Ordinal)
#endif
                ))
            {
                return true;
            }

Changes to Setup/set_2005.bat.

11
12
13
14
15
16
17

18
19
20
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=

SET BUILD_ARGS=

VERIFY > NUL







>



11
12
13
14
15
16
17
18
19
20
21
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=
SET NETFX462ONLY=
SET BUILD_ARGS=

VERIFY > NUL

Changes to Setup/set_2008.bat.

11
12
13
14
15
16
17

18
19
20
SET NETFX35ONLY=1
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=

SET BUILD_ARGS=

VERIFY > NUL







>



11
12
13
14
15
16
17
18
19
20
21
SET NETFX35ONLY=1
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=
SET NETFX462ONLY=
SET BUILD_ARGS=

VERIFY > NUL

Changes to Setup/set_2010.bat.

11
12
13
14
15
16
17

18
19
20
SET NETFX35ONLY=
SET NETFX40ONLY=1
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=

SET BUILD_ARGS=

VERIFY > NUL







>



11
12
13
14
15
16
17
18
19
20
21
SET NETFX35ONLY=
SET NETFX40ONLY=1
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=
SET NETFX462ONLY=
SET BUILD_ARGS=

VERIFY > NUL

Changes to Setup/set_2012.bat.

11
12
13
14
15
16
17

18
19
20
21
22
23
24
25
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=1
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=


REM
REM HACK: Evidently, installing Visual Studio 2013 breaks using MSBuild to
REM       build native projects that specify a platform toolset of "v110".
REM
SET BUILD_ARGS=/property:VisualStudioVersion=11.0

VERIFY > NUL







>








11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=1
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=
SET NETFX462ONLY=

REM
REM HACK: Evidently, installing Visual Studio 2013 breaks using MSBuild to
REM       build native projects that specify a platform toolset of "v110".
REM
SET BUILD_ARGS=/property:VisualStudioVersion=11.0

VERIFY > NUL

Changes to Setup/set_2013.bat.

11
12
13
14
15
16
17

18
19
20
21
22
23
24
25
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=1
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=


REM
REM HACK: Evidently, using MSBuild with Visual Studio 2013 requires some
REM       extra magic to make it recognize the "v120" platform toolset.
REM
SET BUILD_ARGS=/property:VisualStudioVersion=12.0

VERIFY > NUL







>








11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=1
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=
SET NETFX462ONLY=

REM
REM HACK: Evidently, using MSBuild with Visual Studio 2013 requires some
REM       extra magic to make it recognize the "v120" platform toolset.
REM
SET BUILD_ARGS=/property:VisualStudioVersion=12.0

VERIFY > NUL

Changes to Setup/set_2015.bat.

11
12
13
14
15
16
17

18
19
20
21
22
23
24
25
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=1
SET NETFX461ONLY=


REM
REM HACK: Evidently, using MSBuild with Visual Studio 2015 requires some
REM       extra magic to make it recognize the "v140" platform toolset.
REM
SET BUILD_ARGS=/property:VisualStudioVersion=14.0

VERIFY > NUL







>








11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=1
SET NETFX461ONLY=
SET NETFX462ONLY=

REM
REM HACK: Evidently, using MSBuild with Visual Studio 2015 requires some
REM       extra magic to make it recognize the "v140" platform toolset.
REM
SET BUILD_ARGS=/property:VisualStudioVersion=14.0

VERIFY > NUL

Changes to Setup/set_common.bat.

79
80
81
82
83
84
85

86
87
88
89
90
91
92
  SET FRAMEWORK2013=netFx451
  REM SET FRAMEWORK2013=netFx452
)

IF NOT DEFINED FRAMEWORK2015 (
  SET FRAMEWORK2015=netFx46
  REM SET FRAMEWORK2015=netFx461

)

IF DEFINED YEARS GOTO end_of_file

IF NOT DEFINED NOVS2005 (
  IF DEFINED VS2005SP (
    SET YEARS=%YEARS% 2005







>







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
  SET FRAMEWORK2013=netFx451
  REM SET FRAMEWORK2013=netFx452
)

IF NOT DEFINED FRAMEWORK2015 (
  SET FRAMEWORK2015=netFx46
  REM SET FRAMEWORK2015=netFx461
  REM SET FRAMEWORK2015=netFx462
)

IF DEFINED YEARS GOTO end_of_file

IF NOT DEFINED NOVS2005 (
  IF DEFINED VS2005SP (
    SET YEARS=%YEARS% 2005

Changes to System.Data.SQLite.Linq/AssemblyInfo.cs.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
..
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/********************************************************
 * ADO.NET 2.0 Data Provider for SQLite Version 3.X
 * Written by Robert Simpson (robert@blackcastlesoft.com)
 * 
 * Released to the public domain, use at your own risk!
 ********************************************************/

using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
using System.Runtime.ConstrainedExecution;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if USE_ENTITY_FRAMEWORK_6
[assembly: AssemblyTitle("System.Data.SQLite for Entity Framework 6")]
#else
[assembly: AssemblyTitle("System.Data.SQLite for LINQ")]
#endif
................................................................................

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]

#if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461
[assembly: AllowPartiallyTrustedCallers]
#endif

[assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.103.0")]
[assembly: AssemblyFileVersion("1.0.103.0")]



|









|







 







|
|




|








|



|




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
..
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/********************************************************
 * ADO.NET 2.0 Data Provider for SQLite Version 3.X
 * Written by Robert Simpson (robert@blackcastlesoft.com)
 *
 * Released to the public domain, use at your own risk!
 ********************************************************/

using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
using System.Runtime.ConstrainedExecution;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if USE_ENTITY_FRAMEWORK_6
[assembly: AssemblyTitle("System.Data.SQLite for Entity Framework 6")]
#else
[assembly: AssemblyTitle("System.Data.SQLite for LINQ")]
#endif
................................................................................

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]

#if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461 && !NET_462
[assembly: AllowPartiallyTrustedCallers]
#endif

[assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.103.0")]
[assembly: AssemblyFileVersion("1.0.103.0")]

Changes to System.Data.SQLite.Linq/SQL Generation/InternalBase.cs.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
..
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 * Written by Robert Simpson (robert@blackcastlesoft.com)
 * 
 * Released to the public domain, use at your own risk!
 ********************************************************/

using System.Text;

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
using System.Runtime;
#endif

#if USE_ENTITY_FRAMEWORK_6
namespace System.Data.SQLite.EF6
#else
namespace System.Data.SQLite.Linq
#endif
{
	internal abstract class InternalBase
	{
		// Methods
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		protected InternalBase()
		{
		}

		internal abstract void ToCompactString(StringBuilder builder);
................................................................................
		internal virtual string ToFullString()
		{
			StringBuilder builder = new StringBuilder();
			this.ToFullString(builder);
			return builder.ToString();
		}

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		internal virtual void ToFullString(StringBuilder builder)
		{
			this.ToCompactString(builder);
		}








|












|







 







|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
..
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 * Written by Robert Simpson (robert@blackcastlesoft.com)
 * 
 * Released to the public domain, use at your own risk!
 ********************************************************/

using System.Text;

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
using System.Runtime;
#endif

#if USE_ENTITY_FRAMEWORK_6
namespace System.Data.SQLite.EF6
#else
namespace System.Data.SQLite.Linq
#endif
{
	internal abstract class InternalBase
	{
		// Methods
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		protected InternalBase()
		{
		}

		internal abstract void ToCompactString(StringBuilder builder);
................................................................................
		internal virtual string ToFullString()
		{
			StringBuilder builder = new StringBuilder();
			this.ToFullString(builder);
			return builder.ToString();
		}

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		internal virtual void ToFullString(StringBuilder builder)
		{
			this.ToCompactString(builder);
		}

Changes to System.Data.SQLite.Linq/SQL Generation/KeyToListMap.cs.

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
...
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
 ********************************************************/

using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;
using System.Collections;

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
using System.Runtime;
#endif

#if USE_ENTITY_FRAMEWORK_6
namespace System.Data.SQLite.EF6
#else
namespace System.Data.SQLite.Linq
................................................................................
			{
				return this.m_map.Keys;
			}
		}

		internal IEnumerable<KeyValuePair<TKey, List<TValue>>> KeyValuePairs
		{
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
			[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
			get
			{
				return this.m_map;
			}
		}
	}
}







|







 







|









6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
...
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
 ********************************************************/

using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;
using System.Collections;

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
using System.Runtime;
#endif

#if USE_ENTITY_FRAMEWORK_6
namespace System.Data.SQLite.EF6
#else
namespace System.Data.SQLite.Linq
................................................................................
			{
				return this.m_map.Keys;
			}
		}

		internal IEnumerable<KeyValuePair<TKey, List<TValue>>> KeyValuePairs
		{
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
			[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
			get
			{
				return this.m_map;
			}
		}
	}
}

Changes to System.Data.SQLite.Linq/SQL Generation/SqlChecker.cs.

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  {
#if false
    private static Type sql8rewriter;

    static SqlChecker()
    {
        string version =
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
            "4.0.0.0";
#else
            "3.5.0.0";
#endif

        sql8rewriter = Type.GetType(String.Format("System.Data.SqlClient.SqlGen.Sql8ExpressionRewriter, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false);
    }







|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  {
#if false
    private static Type sql8rewriter;

    static SqlChecker()
    {
        string version =
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
            "4.0.0.0";
#else
            "3.5.0.0";
#endif

        sql8rewriter = Type.GetType(String.Format("System.Data.SqlClient.SqlGen.Sql8ExpressionRewriter, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false);
    }

Changes to System.Data.SQLite.Linq/SQL Generation/StringUtil.cs.

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
..
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
...
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
 ********************************************************/

using System.Collections.Generic;
using System.Text;
using System.Globalization;
using System.Collections;

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
using System.Runtime;
#endif

#if USE_ENTITY_FRAMEWORK_6
namespace System.Data.SQLite.EF6
#else
namespace System.Data.SQLite.Linq
................................................................................
		}

		private static string InvariantConvertToString<T>(T value)
		{
			return string.Format(CultureInfo.InvariantCulture, "{0}", new object[] { value });
		}

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		internal static bool IsNullOrEmptyOrWhiteSpace(string value)
		{
			return IsNullOrEmptyOrWhiteSpace(value, 0);
		}

................................................................................
		}

		internal static void ToSeparatedString(StringBuilder builder, IEnumerable list, string separator)
		{
			ToSeparatedStringPrivate(builder, list, separator, string.Empty, false);
		}

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		internal static void ToSeparatedString(StringBuilder stringBuilder, IEnumerable list, string separator, string nullValue)
		{
			ToSeparatedStringPrivate(stringBuilder, list, separator, nullValue, false);
		}








|







 







|







 







|







6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
..
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
...
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
 ********************************************************/

using System.Collections.Generic;
using System.Text;
using System.Globalization;
using System.Collections;

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
using System.Runtime;
#endif

#if USE_ENTITY_FRAMEWORK_6
namespace System.Data.SQLite.EF6
#else
namespace System.Data.SQLite.Linq
................................................................................
		}

		private static string InvariantConvertToString<T>(T value)
		{
			return string.Format(CultureInfo.InvariantCulture, "{0}", new object[] { value });
		}

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		internal static bool IsNullOrEmptyOrWhiteSpace(string value)
		{
			return IsNullOrEmptyOrWhiteSpace(value, 0);
		}

................................................................................
		}

		internal static void ToSeparatedString(StringBuilder builder, IEnumerable list, string separator)
		{
			ToSeparatedStringPrivate(builder, list, separator, string.Empty, false);
		}

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
		[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
#endif
		internal static void ToSeparatedString(StringBuilder stringBuilder, IEnumerable list, string separator, string nullValue)
		{
			ToSeparatedStringPrivate(stringBuilder, list, separator, nullValue, false);
		}

Changes to System.Data.SQLite.Linq/System.Data.SQLite.Core.2012.csproj.

60
61
62
63
64
65
66
67

68
69
70
71
72
73
74
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false'">

      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>







|
>







60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false' Or
                          '$(NetFx462)' != 'false'">
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>

Changes to System.Data.SQLite.Linq/System.Data.SQLite.Core.2013.csproj.

60
61
62
63
64
65
66
67

68
69
70
71
72
73
74
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false'">

      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>







|
>







60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false' Or
                          '$(NetFx462)' != 'false'">
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>

Changes to System.Data.SQLite.Linq/System.Data.SQLite.Core.2015.csproj.

60
61
62
63
64
65
66
67

68
69
70
71
72
73
74
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false'">

      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>







|
>







60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false' Or
                          '$(NetFx462)' != 'false'">
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>

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

1
2
3
4
5
6
7
8
9
10
11
..
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
..
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/********************************************************
 * ADO.NET 2.0 Data Provider for SQLite Version 3.X
 * Written by Robert Simpson (robert@blackcastlesoft.com)
 * 
 * Released to the public domain, use at your own risk!
 ********************************************************/

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
................................................................................
using System.Resources;

#if !PLATFORM_COMPACTFRAMEWORK
using System.Security;
using System.Runtime.ConstrainedExecution;
#endif

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("System.Data.SQLite Core")]
[assembly: AssemblyDescription("ADO.NET Data Provider for SQLite")]
[assembly: AssemblyCompany("https://system.data.sqlite.org/")]
[assembly: AssemblyProduct("System.Data.SQLite")]
[assembly: AssemblyCopyright("Public Domain")]
................................................................................
[assembly: AssemblyConfiguration("Release")]
#endif

#if PLATFORM_COMPACTFRAMEWORK && RETARGETABLE
[assembly: AssemblyFlags(AssemblyNameFlags.Retargetable)]
#endif

//  Setting ComVisible to false makes the types in this assembly not visible 
//  to COM componenets.  If you need to access a type in this assembly from 
//  COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: InternalsVisibleTo("System.Data.SQLite.Linq, PublicKey=" + System.Data.SQLite.SQLite3.PublicKey)]

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
[assembly: InternalsVisibleTo("System.Data.SQLite.EF6, PublicKey=" + System.Data.SQLite.SQLite3.PublicKey)]
#endif

[assembly: NeutralResourcesLanguage("en")]

#if !PLATFORM_COMPACTFRAMEWORK
#if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461
[assembly: AllowPartiallyTrustedCallers]
#endif

[assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
//
// NOTE: This attribute is only available in .NET Framework 4.0 or higher.
//
[assembly: SecurityRules(SecurityRuleSet.Level1)]
#endif
#endif

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Revision and Build Numbers 
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.103.0")]
#if !PLATFORM_COMPACTFRAMEWORK
[assembly: AssemblyFileVersion("1.0.103.0")]
#endif



|







 







|







 







|
|





|






|





|










|



|





1
2
3
4
5
6
7
8
9
10
11
..
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
..
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/********************************************************
 * ADO.NET 2.0 Data Provider for SQLite Version 3.X
 * Written by Robert Simpson (robert@blackcastlesoft.com)
 *
 * Released to the public domain, use at your own risk!
 ********************************************************/

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
................................................................................
using System.Resources;

#if !PLATFORM_COMPACTFRAMEWORK
using System.Security;
using System.Runtime.ConstrainedExecution;
#endif

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("System.Data.SQLite Core")]
[assembly: AssemblyDescription("ADO.NET Data Provider for SQLite")]
[assembly: AssemblyCompany("https://system.data.sqlite.org/")]
[assembly: AssemblyProduct("System.Data.SQLite")]
[assembly: AssemblyCopyright("Public Domain")]
................................................................................
[assembly: AssemblyConfiguration("Release")]
#endif

#if PLATFORM_COMPACTFRAMEWORK && RETARGETABLE
[assembly: AssemblyFlags(AssemblyNameFlags.Retargetable)]
#endif

//  Setting ComVisible to false makes the types in this assembly not visible
//  to COM componenets.  If you need to access a type in this assembly from
//  COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: InternalsVisibleTo("System.Data.SQLite.Linq, PublicKey=" + System.Data.SQLite.SQLite3.PublicKey)]

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
[assembly: InternalsVisibleTo("System.Data.SQLite.EF6, PublicKey=" + System.Data.SQLite.SQLite3.PublicKey)]
#endif

[assembly: NeutralResourcesLanguage("en")]

#if !PLATFORM_COMPACTFRAMEWORK
#if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461 && !NET_462
[assembly: AllowPartiallyTrustedCallers]
#endif

[assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
//
// NOTE: This attribute is only available in .NET Framework 4.0 or higher.
//
[assembly: SecurityRules(SecurityRuleSet.Level1)]
#endif
#endif

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.103.0")]
#if !PLATFORM_COMPACTFRAMEWORK
[assembly: AssemblyFileVersion("1.0.103.0")]
#endif

Changes to System.Data.SQLite/LINQ/SQLiteFactory_Linq.cs.

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
                SQLiteErrorCode.Ok, SQLiteConvert.ToUTF8("logging initialized."));
        }
#endif

        SQLiteLog.Initialize();

        string version =
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
            "4.0.0.0";
#else
            "3.5.0.0";
#endif

        _dbProviderServicesType = Type.GetType(HelperMethods.StringFormat(CultureInfo.InvariantCulture, "System.Data.Common.DbProviderServices, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false);
    }







|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
                SQLiteErrorCode.Ok, SQLiteConvert.ToUTF8("logging initialized."));
        }
#endif

        SQLiteLog.Initialize();

        string version =
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
            "4.0.0.0";
#else
            "3.5.0.0";
#endif

        _dbProviderServicesType = Type.GetType(HelperMethods.StringFormat(CultureInfo.InvariantCulture, "System.Data.Common.DbProviderServices, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false);
    }

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

67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
....
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
    protected internal SQLiteConnectionHandle _sql;
    protected string _fileName;
    protected SQLiteConnectionFlags _flags;
    protected bool _usePool;
    protected int _poolVersion;
    private int _cancelCount;

#if (NET_35 || NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461) && !PLATFORM_COMPACTFRAMEWORK
    private bool _buildingSchema;
#endif

    /// <summary>
    /// The user-defined functions registered on this connection
    /// </summary>
    protected Dictionary<SQLiteFunctionAttribute, SQLiteFunction> _functions;
................................................................................
              }

              if (cmd != null)
                cmd.SetTypes(typedefs);

              return cmd;
            }
#if (NET_35 || NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461) && !PLATFORM_COMPACTFRAMEWORK
            else if (_buildingSchema == false && String.Compare(GetLastError(), 0, "no such table: TEMP.SCHEMA", 0, 26, StringComparison.OrdinalIgnoreCase) == 0)
            {
              strRemain = String.Empty;
              _buildingSchema = true;
              try
              {
                ISQLiteSchemaExtensions ext = ((IServiceProvider)SQLiteFactory.Instance).GetService(typeof(ISQLiteSchemaExtensions)) as ISQLiteSchemaExtensions;







|







 







|







67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
....
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
    protected internal SQLiteConnectionHandle _sql;
    protected string _fileName;
    protected SQLiteConnectionFlags _flags;
    protected bool _usePool;
    protected int _poolVersion;
    private int _cancelCount;

#if (NET_35 || NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462) && !PLATFORM_COMPACTFRAMEWORK
    private bool _buildingSchema;
#endif

    /// <summary>
    /// The user-defined functions registered on this connection
    /// </summary>
    protected Dictionary<SQLiteFunctionAttribute, SQLiteFunction> _functions;
................................................................................
              }

              if (cmd != null)
                cmd.SetTypes(typedefs);

              return cmd;
            }
#if (NET_35 || NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462) && !PLATFORM_COMPACTFRAMEWORK
            else if (_buildingSchema == false && String.Compare(GetLastError(), 0, "no such table: TEMP.SCHEMA", 0, 26, StringComparison.OrdinalIgnoreCase) == 0)
            {
              strRemain = String.Empty;
              _buildingSchema = true;
              try
              {
                ISQLiteSchemaExtensions ext = ((IServiceProvider)SQLiteFactory.Instance).GetService(typeof(ISQLiteSchemaExtensions)) as ISQLiteSchemaExtensions;

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

76
77
78
79
80
81
82
83

84
85
86
87
88
89
90
91
92
93

94
95
96
97
98
99
100
    <Compile Include="SQLiteEnlistment.cs" />
    <Compile Condition="'$(NetFx35)' != 'false' Or
                        '$(NetFx40)' != 'false' Or
                        '$(NetFx45)' != 'false' Or
                        '$(NetFx451)' != 'false' Or
                        '$(NetFx452)' != 'false' Or
                        '$(NetFx46)' != 'false' Or
                        '$(NetFx461)' != 'false'"

             Include="LINQ\SQLiteConnection_Linq.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Condition="'$(NetFx35)' != 'false' Or
                        '$(NetFx40)' != 'false' Or
                        '$(NetFx45)' != 'false' Or
                        '$(NetFx451)' != 'false' Or
                        '$(NetFx452)' != 'false' Or
                        '$(NetFx46)' != 'false' Or
                        '$(NetFx461)' != 'false'"

             Include="LINQ\SQLiteFactory_Linq.cs">
      <SubType>Code</SubType>
    </Compile>
    <EmbeddedResource Include="Resources\SQLiteCommand.bmp" />
    <EmbeddedResource Include="Resources\SQLiteConnection.bmp" />
    <EmbeddedResource Include="Resources\SQLiteDataAdapter.bmp" />
  </ItemGroup>







|
>









|
>







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
    <Compile Include="SQLiteEnlistment.cs" />
    <Compile Condition="'$(NetFx35)' != 'false' Or
                        '$(NetFx40)' != 'false' Or
                        '$(NetFx45)' != 'false' Or
                        '$(NetFx451)' != 'false' Or
                        '$(NetFx452)' != 'false' Or
                        '$(NetFx46)' != 'false' Or
                        '$(NetFx461)' != 'false' Or
                        '$(NetFx462)' != 'false'"
             Include="LINQ\SQLiteConnection_Linq.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Condition="'$(NetFx35)' != 'false' Or
                        '$(NetFx40)' != 'false' Or
                        '$(NetFx45)' != 'false' Or
                        '$(NetFx451)' != 'false' Or
                        '$(NetFx452)' != 'false' Or
                        '$(NetFx46)' != 'false' Or
                        '$(NetFx461)' != 'false' Or
                        '$(NetFx462)' != 'false'"
             Include="LINQ\SQLiteFactory_Linq.cs">
      <SubType>Code</SubType>
    </Compile>
    <EmbeddedResource Include="Resources\SQLiteCommand.bmp" />
    <EmbeddedResource Include="Resources\SQLiteConnection.bmp" />
    <EmbeddedResource Include="Resources\SQLiteDataAdapter.bmp" />
  </ItemGroup>

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

34
35
36
37
38
39
40

41
42
43
44
45
46
    <NetFx35>true</NetFx35>
    <NetFx40>false</NetFx40>
    <NetFx45>false</NetFx45>
    <NetFx451>false</NetFx451>
    <NetFx452>false</NetFx452>
    <NetFx46>false</NetFx46>
    <NetFx461>false</NetFx461>

    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <TargetFrameworkProfile></TargetFrameworkProfile>
    <Prefer32Bit>false</Prefer32Bit>
    <!-- <PlatformToolset>v110</PlatformToolset> -->
  </PropertyGroup>
</Project>







>






34
35
36
37
38
39
40
41
42
43
44
45
46
47
    <NetFx35>true</NetFx35>
    <NetFx40>false</NetFx40>
    <NetFx45>false</NetFx45>
    <NetFx451>false</NetFx451>
    <NetFx452>false</NetFx452>
    <NetFx46>false</NetFx46>
    <NetFx461>false</NetFx461>
    <NetFx462>false</NetFx462>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <TargetFrameworkProfile></TargetFrameworkProfile>
    <Prefer32Bit>false</Prefer32Bit>
    <!-- <PlatformToolset>v110</PlatformToolset> -->
  </PropertyGroup>
</Project>

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

36
37
38
39
40
41
42

43
44
45
46
47
    <NetFx35>false</NetFx35>
    <NetFx40>true</NetFx40>
    <NetFx45>false</NetFx45>
    <NetFx451>false</NetFx451>
    <NetFx452>false</NetFx452>
    <NetFx46>false</NetFx46>
    <NetFx461>false</NetFx461>

    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <Prefer32Bit>false</Prefer32Bit>
    <!-- <PlatformToolset>v100</PlatformToolset> -->
  </PropertyGroup>
</Project>







>





36
37
38
39
40
41
42
43
44
45
46
47
48
    <NetFx35>false</NetFx35>
    <NetFx40>true</NetFx40>
    <NetFx45>false</NetFx45>
    <NetFx451>false</NetFx451>
    <NetFx452>false</NetFx452>
    <NetFx46>false</NetFx46>
    <NetFx461>false</NetFx461>
    <NetFx462>false</NetFx462>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <Prefer32Bit>false</Prefer32Bit>
    <!-- <PlatformToolset>v100</PlatformToolset> -->
  </PropertyGroup>
</Project>

Changes to Tests/tkt-a4d9c7ee94.eagle.

56
57
58
59
60
61
62
63

64
65
66
67
68
69
70
...
104
105
106
107
108
109
110
111

112
113
114
115
116
117
118
119
120
121
122
} -constraints {eagle monoToDo SQLite file_System.Data.SQLite.dll testExec\
file_System.Data.SQLite.Linq.dll file_testlinq.exe file_northwindEF.db} \
-constraintExpression {[haveConstraint buildFramework.netFx40] || \
[haveConstraint buildFramework.netFx45] || \
[haveConstraint buildFramework.netFx451] || \
[haveConstraint buildFramework.netFx452] || \
[haveConstraint buildFramework.netFx46] || \
[haveConstraint buildFramework.netFx461]} \

-result {0 {1581 1730 1833 2116 2139 2184 2903 3049 3801 6897 7960 8837 10019\
10038 11747 14450 19428 19713 20852 27403 27511 29202 30346 31406 32859 33607\
40222 44122 45839 48075 48084 48304 53404 55113 55439 60179 60601 72716 75234\
78759 80202 80909 85014 85251 90405 94025 94105 95008 95054 95060 98004 98052\
98104}}}

###############################################################################
................................................................................
} -constraints {eagle monoToDo SQLite file_System.Data.SQLite.dll testExec\
file_System.Data.SQLite.Linq.dll file_testlinq.exe file_northwindEF.db} \
-constraintExpression {[haveConstraint buildFramework.netFx40] || \
[haveConstraint buildFramework.netFx45] || \
[haveConstraint buildFramework.netFx451] || \
[haveConstraint buildFramework.netFx452] || \
[haveConstraint buildFramework.netFx46] || \
[haveConstraint buildFramework.netFx461]} \

-result {0 {1581 1730 1833 2116 2139 2184 2903 3049 3801 6897 7960 8837 10019\
10038 11747 14450 19428 19713 20852 27403 27511 29202 30346 31406 32859 33607\
40222 44122 45839 48075 48084 48304 53404 55113 55439 60179 60601 72716 75234\
78759 80202 80909 85014 85251 90405 94025 94105 95008 95054 95060 98004 98052\
98104}}}

###############################################################################

runSQLiteTestFilesEpilogue
runSQLiteTestEpilogue
runTestEpilogue







|
>







 







|
>











56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
...
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
} -constraints {eagle monoToDo SQLite file_System.Data.SQLite.dll testExec\
file_System.Data.SQLite.Linq.dll file_testlinq.exe file_northwindEF.db} \
-constraintExpression {[haveConstraint buildFramework.netFx40] || \
[haveConstraint buildFramework.netFx45] || \
[haveConstraint buildFramework.netFx451] || \
[haveConstraint buildFramework.netFx452] || \
[haveConstraint buildFramework.netFx46] || \
[haveConstraint buildFramework.netFx461] || \
[haveConstraint buildFramework.netFx462]} \
-result {0 {1581 1730 1833 2116 2139 2184 2903 3049 3801 6897 7960 8837 10019\
10038 11747 14450 19428 19713 20852 27403 27511 29202 30346 31406 32859 33607\
40222 44122 45839 48075 48084 48304 53404 55113 55439 60179 60601 72716 75234\
78759 80202 80909 85014 85251 90405 94025 94105 95008 95054 95060 98004 98052\
98104}}}

###############################################################################
................................................................................
} -constraints {eagle monoToDo SQLite file_System.Data.SQLite.dll testExec\
file_System.Data.SQLite.Linq.dll file_testlinq.exe file_northwindEF.db} \
-constraintExpression {[haveConstraint buildFramework.netFx40] || \
[haveConstraint buildFramework.netFx45] || \
[haveConstraint buildFramework.netFx451] || \
[haveConstraint buildFramework.netFx452] || \
[haveConstraint buildFramework.netFx46] || \
[haveConstraint buildFramework.netFx461] || \
[haveConstraint buildFramework.netFx462]} \
-result {0 {1581 1730 1833 2116 2139 2184 2903 3049 3801 6897 7960 8837 10019\
10038 11747 14450 19428 19713 20852 27403 27511 29202 30346 31406 32859 33607\
40222 44122 45839 48075 48084 48304 53404 55113 55439 60179 60601 72716 75234\
78759 80202 80909 85014 85251 90405 94025 94105 95008 95054 95060 98004 98052\
98104}}}

###############################################################################

runSQLiteTestFilesEpilogue
runSQLiteTestEpilogue
runTestEpilogue

Changes to Tests/version.eagle.

280
281
282
283
284
285
286



287
288
289
290
291
292
293
294
295
296
297
298



299
300
301
302
303
304
305



306
307
308
309
310
311
312
...
320
321
322
323
324
325
326



327
328
329






...
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346



347
348
349
350
351
352
353
...
398
399
400
401
402
403
404



405
406
407
408
409
410
411
...
414
415
416
417
418
419
420



421
422
423
424
425
426
427
...
430
431
432
433
434
435
436



437
438
439
440
441
442
443
...
471
472
473
474
475
476
477



478
479
480
481
482
483
484
485
486
487
488
489



490
491
492



...
493
494
495
496
497
498
499
500
501
502
503
...
511
512
513
514
515
516
517



518
519
520
521
522
523
524
525
526
527
528
529



530
531
532
533
534
535
536
537



538
539
540
541
542
543
544
...
551
552
553
554
555
556
557



558
559
560
561
562
563
564
565
566
567
568
569



570
571
572
573
574
575
576
577



578
579
580
581
582
583
584
...
591
592
593
594
595
596
597



598
599
600
601
602
603
604
605
606
607
608
609



610
611
612
613
614
615
616
617



618
619
620
621
622
623
624
...
631
632
633
634
635
636
637



638
639
640
641
642
643
644
645



646
647
648
649
650
651
652
...
659
660
661
662
663
664
665



666
667
668
669
670
671
672
673



674
675
676
677
678
679
680
...
962
963
964
965
966
967
968






969
970
971
972
973
974
975
...
984
985
986
987
988
989
990


991
992
993
994
995
996
997
998

999
1000
1001



1002
1003
1004
1005
1006
1007
1008
....
1019
1020
1021
1022
1023
1024
1025






1026
1027
1028
1029
1030
1031
1032
....
1043
1044
1045
1046
1047
1048
1049





1050
1051
1052
1053
1054
1055
1056
1057


1058
1059
1060
1061
1062
1063
1064
....
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142





1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
        "\" "] \



    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \



        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "]

###############################################################################
# SQLite.Beta.nuspec
###############################################################################

................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \






................................................................................
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \



        $version(nuget) "\" "]

###############################################################################
# SQLite.Core.nuspec
###############################################################################

lappend patterns \
................................................................................
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \



        $version(ef6)] "\" "]

###############################################################################
# SQLite.EF6.Beta.nuspec
###############################################################################

lappend patterns \
................................................................................
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \



        $version(ef6)] "\" "]

###############################################################################
# SQLite.EF6.Test.nuspec
###############################################################################

lappend patterns \
................................................................................
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \



        $version(ef6)] "\" "]

###############################################################################
# SQLite.Linq.nuspec
###############################################################################

lappend patterns \
................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \



................................................................................
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "]

###############################################################################
# SQLite.MSIL.Beta.nuspec
###############################################################################

................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \



        $version(nuget) "\" "]

###############################################################################
# SQLite.MSIL.Test.nuspec
###############################################################################

lappend patterns \
................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \



        $version(nuget) "\" "]

###############################################################################
# SQLite.Test.nuspec
###############################################################################

lappend patterns \
................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \



        $version(nuget) "\" "]

###############################################################################
# SQLite.x64.nuspec
###############################################################################

lappend patterns \
................................................................................
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \



        "\" "]

###############################################################################
# SQLite.x86.nuspec
###############################################################################

lappend patterns \
................................................................................
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \



    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \



        "\" "]

###############################################################################
# SQLite.Designer/AssemblyInfo.cs
###############################################################################

lappend patterns \
................................................................................
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \






    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
................................................................................
    [file join NuGet SQLite.Core.MSIL.nuspec] \
    [file join NuGet SQLite.Core.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.Core.MSIL.Test.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \


    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \

    [file join NuGet SQLite.Linq.nuspec] \
    [file join NuGet SQLite.Linq.Beta.nuspec] \
    [file join NuGet SQLite.Linq.Test.nuspec] \



    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
................................................................................
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \






    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
................................................................................
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \





    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \


    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
................................................................................
    [file join testlinq 2015 LINQ App.config] \
    [file join testlinq Properties AssemblyInfo.cs] \
    [file join testlinq Properties AssemblyInfo.cs] \
    [file join tools install Properties AssemblyInfo.cs] \
    [file join tools install Properties AssemblyInfo.cs] \
    [file join www news.wiki]]

if {[llength $patterns] != [llength $fileNames]} then {
  error [appendArgs \
      "number of regular expression patterns " [llength $patterns] \
      " does not match number of file names " [llength $fileNames]]
}

for {set i 1} {$i <= [llength $fileNames]} {incr i} {
  set pattern [lindex $patterns [expr {$i - 1}]]
  set fileName [lindex $fileNames [expr {$i - 1}]]
  set constraint [string map [list / _ \\ _] $fileName]
  set fileName [file nativename [file join $root_path $fileName]]

  if {![haveConstraint [appendArgs file_ $constraint]]} then {
    checkForFile $test_channel $fileName $constraint; # EXEMPT: Dynamic.
  }

  runTest {test [appendArgs version-1.21. $i] \
      [appendArgs "pattern {" $pattern "} in file \"" $fileName \"] -body {
    if {[hasRuntimeOption verbose]} then {
      tputs $test_channel [appendArgs \
          "---- checking pattern {" $pattern "} against file \"" $fileName \
          \"...\n]
    }
    regexp -- $pattern [readFile $fileName]
  } -constraints [list eagle [appendArgs file_ $constraint]] -result {1}}





}

###############################################################################

unset -nocomplain constraint fileName pattern fileNames patterns i version

###############################################################################

runSQLiteTestFilesEpilogue
runSQLiteTestEpilogue
runTestEpilogue







>
>
>












>
>
>







>
>
>







 







>
>
>



>
>
>
>
>
>
 
<
<
<
|


|










>
>
>







 







>
>
>







 







>
>
>







 







>
>
>







 







>
>
>












>
>
>



>
>
>
 
|


|







 







>
>
>












>
>
>








>
>
>







 







>
>
>












>
>
>








>
>
>







 







>
>
>












>
>
>








>
>
>







 







>
>
>








>
>
>







 







>
>
>








>
>
>







 







>
>
>
>
>
>







 







>
>








>



>
>
>







 







>
>
>
>
>
>







 







>
>
>
>
>








>
>







 







|
<
<
<
<
<
|
|
|
|
|

|
|
|

|
|
|
|
|
|
|
|
|
>
>
>
>
>











280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
...
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
...



348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
...
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
...
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
...
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
...
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
...
529
530
531
532
533
534
535
536
537
538
539
...
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
...
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
...
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
...
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
...
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
....
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
....
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
....
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
....
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
....
1211
1212
1213
1214
1215
1216
1217
1218





1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "]

###############################################################################
# SQLite.Beta.nuspec
###############################################################################

................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
................................................................................



    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "]

###############################################################################
# SQLite.Core.nuspec
###############################################################################

lappend patterns \
................................................................................
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "]

###############################################################################
# SQLite.EF6.Beta.nuspec
###############################################################################

lappend patterns \
................................................................................
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "]

###############################################################################
# SQLite.EF6.Test.nuspec
###############################################################################

lappend patterns \
................................................................................
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"EntityFramework\" version=\"" [string map [list . \\.] \
        $version(ef6)] "\" "]

###############################################################################
# SQLite.Linq.nuspec
###############################################################################

lappend patterns \
................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
................................................................................
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "]

###############################################################################
# SQLite.MSIL.Beta.nuspec
###############################################################################

................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Beta\" version=\"" \
        $version(nuget) "\" "]

###############################################################################
# SQLite.MSIL.Test.nuspec
###############################################################################

lappend patterns \
................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.MSIL\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "]

###############################################################################
# SQLite.Test.nuspec
###############################################################################

lappend patterns \
................................................................................
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Core\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net20\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\\.Test\" version=\"" \
        $version(nuget) "\" "]

###############################################################################
# SQLite.x64.nuspec
###############################################################################

lappend patterns \
................................................................................
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "]

###############################################################################
# SQLite.x86.nuspec
###############################################################################

lappend patterns \
................................................................................
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.Linq\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net40\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net45\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net451\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "] \
    [appendArgs " targetFramework=\"net46\".*? " \
        "id=\"System\\.Data\\.SQLite\\.EF6\" version=\"" $version(nuget) \
        "\" "]

###############################################################################
# SQLite.Designer/AssemblyInfo.cs
###############################################################################

lappend patterns \
................................................................................
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
    [file join NuGet SQLite.Beta.nuspec] \
................................................................................
    [file join NuGet SQLite.Core.MSIL.nuspec] \
    [file join NuGet SQLite.Core.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.Core.MSIL.Test.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Beta.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.EF6.Test.nuspec] \
    [file join NuGet SQLite.Linq.nuspec] \
    [file join NuGet SQLite.Linq.Beta.nuspec] \
    [file join NuGet SQLite.Linq.Test.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
    [file join NuGet SQLite.MSIL.nuspec] \
................................................................................
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Beta.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
    [file join NuGet SQLite.MSIL.Test.nuspec] \
................................................................................
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.Test.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x64.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
    [file join NuGet SQLite.x86.nuspec] \
................................................................................
    [file join testlinq 2015 LINQ App.config] \
    [file join testlinq Properties AssemblyInfo.cs] \
    [file join testlinq Properties AssemblyInfo.cs] \
    [file join tools install Properties AssemblyInfo.cs] \
    [file join tools install Properties AssemblyInfo.cs] \
    [file join www news.wiki]]

if {[llength $patterns] == [llength $fileNames]} then {





  for {set i 1} {$i <= [llength $fileNames]} {incr i} {
    set pattern [lindex $patterns [expr {$i - 1}]]
    set fileName [lindex $fileNames [expr {$i - 1}]]
    set constraint [string map [list / _ \\ _] $fileName]
    set fileName [file nativename [file join $root_path $fileName]]

    if {![haveConstraint [appendArgs file_ $constraint]]} then {
      checkForFile $test_channel $fileName $constraint; # EXEMPT: Dynamic.
    }

    runTest {test [appendArgs version-1.21. $i] \
        [appendArgs "pattern {" $pattern "} in file \"" $fileName \"] -body {
      if {[hasRuntimeOption verbose]} then {
        tputs $test_channel [appendArgs \
            "---- checking pattern {" $pattern "} against file \"" \
            $fileName \"...\n]
      }
      regexp -- $pattern [readFile $fileName]
    } -constraints [list eagle [appendArgs file_ $constraint]] -result {1}}
  }
} else {
  tputs $test_channel [appendArgs \
      "---- number of regular expression patterns " [llength $patterns] \
      " does not match number of file names " [llength $fileNames] \n]
}

###############################################################################

unset -nocomplain constraint fileName pattern fileNames patterns i version

###############################################################################

runSQLiteTestFilesEpilogue
runSQLiteTestEpilogue
runTestEpilogue

Changes to lib/System.Data.SQLite/common.eagle.

3743
3744
3745
3746
3747
3748
3749
3750
3751

3752
3753
3754
3755
3756
3757
3758
3759

        #
        # NOTE: Build the list of external files that we handle.  Some of
        #       these files may be native and/or managed assemblies that are
        #       required to perform various tests.
        #
        set externalFileNames [list \
            [file join EntityFramework lib [string map [list Fx ""] [string \
            map [list netFx451 netFx45 netFx452 netFx45 netFx46 netFx45 \

            netFx461 netFx45] [getBuildNetFx]]] EntityFramework.dll]]

        #
        # NOTE: Build the list of native assembly files that we handle.  The
        #       reason the "System.Data.SQLite.dll" file is included here is
        #       because it could be the mixed-mode assembly.
        #
        set nativeFileNames [list]







|
|
>
|







3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760

        #
        # NOTE: Build the list of external files that we handle.  Some of
        #       these files may be native and/or managed assemblies that are
        #       required to perform various tests.
        #
        set externalFileNames [list \
            [file join EntityFramework lib [string map [list Fx ""] \
            [string map [list netFx451 netFx45 netFx452 netFx45 netFx46 \
            netFx45 netFx461 netFx45 netFx462 netFx45] [getBuildNetFx]]] \
            EntityFramework.dll]]

        #
        # NOTE: Build the list of native assembly files that we handle.  The
        #       reason the "System.Data.SQLite.dll" file is included here is
        #       because it could be the mixed-mode assembly.
        #
        set nativeFileNames [list]

Changes to testlinq/Program.cs.

170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
...
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
...
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
...
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
...
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
...
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935

                              return 1;
                          }
                      }

                      return BinaryGuidTest(value);
                  }
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
              case "binaryguid2":
                  {
                      bool value = false;

                      if (args.Length > 1)
                      {
                          if (!bool.TryParse(args[1], out value))
................................................................................
                              return 1;
                          }
                      }

                      return BinaryGuidTest2(value);
                  }
#endif
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
              case "round":
                  {
                      return RoundTest();
                  }
#endif
              case "complexprimarykey":
                  {
................................................................................
                          territories.Regions = db.Regions.First();

                          db.AddObject("Territories", territories);
                      }

                      try
                      {
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
                          db.SaveChanges(SaveOptions.None);
#else
                          db.SaveChanges(false);
#endif
                      }
                      catch (Exception e)
                      {
................................................................................
              }
          }
          else
          {
              using (northwindEFEntities db = new northwindEFEntities())
              {
                  bool once = false;
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
                  var query = from t in db.Territories
                    where territoryIds.AsQueryable<long>().Contains<long>(t.TerritoryID)
                    orderby t.TerritoryID
                    select t;

                  foreach (Territories territories in query)
                  {
................................................................................
          Environment.SetEnvironmentVariable(
              "AppendManifestToken_SQLiteProviderManifest",
              null);

          return 0;
      }

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
      //
      // NOTE: Used to test the BinaryGUID connection string property with
      //       the Contains() function (ticket [a4d9c7ee94]).  We cannot
      //       use the Contains extension method within a LINQ query with
      //       the .NET Framework 3.5.
      //
      private static int BinaryGuidTest2(bool binaryGuid)
................................................................................
                  null);
          }

          Environment.SetEnvironmentVariable("SQLite_ForceLogPrepare", null);
          Trace.Listeners.Remove(listener);
      }

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
      //
      // NOTE: Used to test the ROUND fix (i.e. being able to properly handle
      //       the two argument form).
      //
      private static int RoundTest()
      {
            using (northwindEFEntities db = new northwindEFEntities())







|







 







|







 







|







 







|







 







|







 







|







170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
...
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
...
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
...
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
...
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
...
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935

                              return 1;
                          }
                      }

                      return BinaryGuidTest(value);
                  }
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
              case "binaryguid2":
                  {
                      bool value = false;

                      if (args.Length > 1)
                      {
                          if (!bool.TryParse(args[1], out value))
................................................................................
                              return 1;
                          }
                      }

                      return BinaryGuidTest2(value);
                  }
#endif
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
              case "round":
                  {
                      return RoundTest();
                  }
#endif
              case "complexprimarykey":
                  {
................................................................................
                          territories.Regions = db.Regions.First();

                          db.AddObject("Territories", territories);
                      }

                      try
                      {
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
                          db.SaveChanges(SaveOptions.None);
#else
                          db.SaveChanges(false);
#endif
                      }
                      catch (Exception e)
                      {
................................................................................
              }
          }
          else
          {
              using (northwindEFEntities db = new northwindEFEntities())
              {
                  bool once = false;
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
                  var query = from t in db.Territories
                    where territoryIds.AsQueryable<long>().Contains<long>(t.TerritoryID)
                    orderby t.TerritoryID
                    select t;

                  foreach (Territories territories in query)
                  {
................................................................................
          Environment.SetEnvironmentVariable(
              "AppendManifestToken_SQLiteProviderManifest",
              null);

          return 0;
      }

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
      //
      // NOTE: Used to test the BinaryGUID connection string property with
      //       the Contains() function (ticket [a4d9c7ee94]).  We cannot
      //       use the Contains extension method within a LINQ query with
      //       the .NET Framework 3.5.
      //
      private static int BinaryGuidTest2(bool binaryGuid)
................................................................................
                  null);
          }

          Environment.SetEnvironmentVariable("SQLite_ForceLogPrepare", null);
          Trace.Listeners.Remove(listener);
      }

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462
      //
      // NOTE: Used to test the ROUND fix (i.e. being able to properly handle
      //       the two argument form).
      //
      private static int RoundTest()
      {
            using (northwindEFEntities db = new northwindEFEntities())

Changes to testlinq/test.2012.csproj.

59
60
61
62
63
64
65
66

67
68
69
70
71
72
73
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false'">

      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
             Include="NorthwindModel.Linq.2008.Designer.cs">
      <AutoGen>True</AutoGen>







|
>







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false' Or
                          '$(NetFx462)' != 'false'">
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
             Include="NorthwindModel.Linq.2008.Designer.cs">
      <AutoGen>True</AutoGen>

Changes to testlinq/test.2013.csproj.

59
60
61
62
63
64
65
66

67
68
69
70
71
72
73
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false'">

      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
             Include="NorthwindModel.Linq.2008.Designer.cs">
      <AutoGen>True</AutoGen>







|
>







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false' Or
                          '$(NetFx462)' != 'false'">
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
             Include="NorthwindModel.Linq.2008.Designer.cs">
      <AutoGen>True</AutoGen>

Changes to testlinq/test.2015.csproj.

59
60
61
62
63
64
65
66

67
68
69
70
71
72
73
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false'">

      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
             Include="NorthwindModel.Linq.2008.Designer.cs">
      <AutoGen>True</AutoGen>







|
>







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
    </Reference>
    <Reference Include="EntityFramework"
               Condition="'$(NetFx45)' != 'false' Or
                          '$(NetFx451)' != 'false' Or
                          '$(NetFx452)' != 'false' Or
                          '$(NetFx46)' != 'false' Or
                          '$(NetFx461)' != 'false' Or
                          '$(NetFx462)' != 'false'">
      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
             Include="NorthwindModel.Linq.2008.Designer.cs">
      <AutoGen>True</AutoGen>