System.Data.SQLite

Check-in [b936950261]
Login

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

Overview
Comment:Initial work on porting the primary managed assembly to .NET Standard 2.0 (using .NET Core 2.0).
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | netStandard20
Files: files | file ages | folders
SHA1: b93695026101f419a4f1d53298aeaa7c369cce0d
User & Date: mistachkin 2018-04-05 04:51:59.364
Context
2018-04-05
05:08
Fix the naming of the 'year' batch files to they can more easily coexist with the 'framework' batch files. check-in: bf7fffa914 user: mistachkin tags: netStandard20
04:51
Initial work on porting the primary managed assembly to .NET Standard 2.0 (using .NET Core 2.0). check-in: b936950261 user: mistachkin tags: netStandard20
03:45
Pickup the SQLite core library 3.23.0 docs from upstream. check-in: 6bb5d25e27 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Setup/build.bat.
130
131
132
133
134
135
136






137
138
139
140
141
142
143
144
145
146











147
148
149
150
151
152
153

IF NOT DEFINED MSBUILD (
  SET MSBUILD=MSBuild.exe
)

%_VECHO% MsBuild = '%MSBUILD%'







IF NOT DEFINED CSC (
  SET CSC=csc.exe
)

%_VECHO% Csc = '%CSC%'

REM
REM TODO: When the next version of Visual Studio is released, this section
REM       may need updating.
REM











IF DEFINED NETFX20ONLY (
  %_AECHO% Forcing the use of the .NET Framework 2.0...
  SET YEAR=2005
  CALL :fn_CheckFrameworkDir v2.0.50727
  GOTO setup_buildToolDir
)








>
>
>
>
>
>










>
>
>
>
>
>
>
>
>
>
>







130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170

IF NOT DEFINED MSBUILD (
  SET MSBUILD=MSBuild.exe
)

%_VECHO% MsBuild = '%MSBUILD%'

IF NOT DEFINED DOTNET (
  SET DOTNET=dotnet.exe
)

%_VECHO% DotNet = '%DOTNET%'

IF NOT DEFINED CSC (
  SET CSC=csc.exe
)

%_VECHO% Csc = '%CSC%'

REM
REM TODO: When the next version of Visual Studio is released, this section
REM       may need updating.
REM
IF DEFINED NETCORE20ONLY (
  %_AECHO% Forcing the use of the .NET Core 2.0...
  IF NOT DEFINED YEAR (
    SET YEAR=NetStandard20
  )
  CALL :fn_VerifyDotNetCore
  SET NOBUILDTOOLDIR=1
  SET USEDOTNET=1
  GOTO setup_buildToolDir
)

IF DEFINED NETFX20ONLY (
  %_AECHO% Forcing the use of the .NET Framework 2.0...
  SET YEAR=2005
  CALL :fn_CheckFrameworkDir v2.0.50727
  GOTO setup_buildToolDir
)

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

322
323
324
325
326
327
328
329
330
331
332

333

334
335
336
337
338
339
340
      SET YEAR=2005
    )
  )
)

:setup_buildToolDir





IF DEFINED BUILDTOOLDIR (
  %_AECHO% Forcing the use of build tool directory "%BUILDTOOLDIR%"...
) ELSE (
  CALL :fn_CheckBuildToolDir
  CALL :fn_VerifyBuildToolDir

)

%_VECHO% Year = '%YEAR%'
%_VECHO% FrameworkDir = '%FRAMEWORKDIR%'
%_VECHO% MsBuildDir = '%MSBUILDDIR%'
%_VECHO% VisualStudioMsBuildDir = '%VISUALSTUDIOMSBUILDDIR%'
%_VECHO% BuildToolDir = '%BUILDTOOLDIR%'


IF NOT DEFINED BUILDTOOLDIR (
  ECHO.
  ECHO No directory containing MSBuild could be found.
  ECHO.
  ECHO Please install the .NET Framework or set the "FRAMEWORKDIR"
  ECHO environment variable to the location where it is installed.
  ECHO.
  GOTO errors

)

CALL :fn_ResetErrorLevel

%__ECHO2% PUSHD "%ROOT%"

IF ERRORLEVEL 1 (
  ECHO Could not change directory to "%ROOT%".
  GOTO errors
)


CALL :fn_PrependToPath BUILDTOOLDIR


%_VECHO% Path = '%PATH%'

IF NOT DEFINED SOLUTION (
  IF DEFINED COREONLY (
    %_AECHO% Building core managed project...
    SET SOLUTION=.\System.Data.SQLite\System.Data.SQLite.%YEAR%.csproj







>
>
>
>
|
|
|
|
|
>








>
|
|
|
|
|
|
|
|
>











>
|
>







311
312
313
314
315
316
317
318
319
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
354
355
356
357
358
359
360
361
362
363
364
365
366
      SET YEAR=2005
    )
  )
)

:setup_buildToolDir

%_VECHO% NoBuildToolDir = '%NOBUILDTOOLDIR%'
%_VECHO% UseDotNet = '%USEDOTNET%'

IF NOT DEFINED NOBUILDTOOLDIR (
  IF DEFINED BUILDTOOLDIR (
    %_AECHO% Forcing the use of build tool directory "%BUILDTOOLDIR%"...
  ) ELSE (
    CALL :fn_CheckBuildToolDir
    CALL :fn_VerifyBuildToolDir
  )
)

%_VECHO% Year = '%YEAR%'
%_VECHO% FrameworkDir = '%FRAMEWORKDIR%'
%_VECHO% MsBuildDir = '%MSBUILDDIR%'
%_VECHO% VisualStudioMsBuildDir = '%VISUALSTUDIOMSBUILDDIR%'
%_VECHO% BuildToolDir = '%BUILDTOOLDIR%'

IF NOT DEFINED NOBUILDTOOLDIR (
  IF NOT DEFINED BUILDTOOLDIR (
    ECHO.
    ECHO No directory containing MSBuild could be found.
    ECHO.
    ECHO Please install the .NET Framework or set the "FRAMEWORKDIR"
    ECHO environment variable to the location where it is installed.
    ECHO.
    GOTO errors
  )
)

CALL :fn_ResetErrorLevel

%__ECHO2% PUSHD "%ROOT%"

IF ERRORLEVEL 1 (
  ECHO Could not change directory to "%ROOT%".
  GOTO errors
)

IF NOT DEFINED NOBUILDTOOLDIR (
  CALL :fn_PrependToPath BUILDTOOLDIR
)

%_VECHO% Path = '%PATH%'

IF NOT DEFINED SOLUTION (
  IF DEFINED COREONLY (
    %_AECHO% Building core managed project...
    SET SOLUTION=.\System.Data.SQLite\System.Data.SQLite.%YEAR%.csproj
403
404
405
406
407
408
409










410
411
412
413
414
415
416
IF NOT DEFINED TEMP (
  ECHO Temporary directory must be defined.
  GOTO errors
)

%_VECHO% Temp = '%TEMP%'











IF NOT DEFINED LOGDIR (
  SET LOGDIR=%TEMP%
)

%_VECHO% LogDir = '%LOGDIR%'

IF NOT DEFINED LOGPREFIX (







>
>
>
>
>
>
>
>
>
>







429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
IF NOT DEFINED TEMP (
  ECHO Temporary directory must be defined.
  GOTO errors
)

%_VECHO% Temp = '%TEMP%'

IF NOT DEFINED LOGASM (
  IF DEFINED USEDOTNET (
    SET LOGASM=Microsoft.Build
  ) ELSE (
    SET LOGASM=Microsoft.Build.Engine
  )
)

%_VECHO% LogAsm = '%LOGASM%'

IF NOT DEFINED LOGDIR (
  SET LOGDIR=%TEMP%
)

%_VECHO% LogDir = '%LOGDIR%'

IF NOT DEFINED LOGPREFIX (
424
425
426
427
428
429
430
431


432
433
434
435
436
437
438
)

%_VECHO% LogSuffix = '%LOGSUFFIX%'

IF DEFINED LOGGING GOTO skip_setLogging
IF DEFINED NOLOG GOTO skip_setLogging

SET LOGGING="/logger:FileLogger,Microsoft.Build.Engine;Logfile=%LOGDIR%\%LOGPREFIX%_%CONFIGURATION%_%PLATFORM%_%YEAR%_%LOGSUFFIX%.log;Verbosity=diagnostic"



:skip_setLogging

IF NOT DEFINED NOPROPS (
  IF EXIST Externals\Eagle\bin\EagleShell.exe (
    IF DEFINED INTEROP_EXTRA_PROPS_FILE (
      REM







|
>
>







460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
)

%_VECHO% LogSuffix = '%LOGSUFFIX%'

IF DEFINED LOGGING GOTO skip_setLogging
IF DEFINED NOLOG GOTO skip_setLogging

SET LOGGING="/logger:FileLogger,%LOGASM%;Logfile=%LOGDIR%\%LOGPREFIX%_%CONFIGURATION%_%PLATFORM%_%YEAR%_%LOGSUFFIX%.log;Verbosity=diagnostic"

%_VECHO% Logging = '%LOGGING%'

:skip_setLogging

IF NOT DEFINED NOPROPS (
  IF EXIST Externals\Eagle\bin\EagleShell.exe (
    IF DEFINED INTEROP_EXTRA_PROPS_FILE (
      REM
477
478
479
480
481
482
483






484

485
486
487
488
489
490
491
492
493
494
495
496
497
  )
) ELSE (
  ECHO WARNING: Source tagging skipped, disabled via NOTAG environment variable.
)

CALL :fn_CopyVariable MSBUILD_ARGS_%BASE_CONFIGURATION% MSBUILD_ARGS_CFG







%_VECHO% Logging = '%LOGGING%'

%_VECHO% BuildArgs = '%BUILD_ARGS%'
%_VECHO% MsBuildArgs = '%MSBUILD_ARGS%'
%_VECHO% MsBuildArgsCfg = '%MSBUILD_ARGS_CFG%'

IF NOT DEFINED NOBUILD (
  %__ECHO% "%MSBUILD%" "%SOLUTION%" "/target:%TARGET%" "/property:Configuration=%MSBUILD_CONFIGURATION%" "/property:Platform=%PLATFORM%" %LOGGING% %BUILD_ARGS% %MSBUILD_ARGS% %MSBUILD_ARGS_CFG%

  IF ERRORLEVEL 1 (
    ECHO Build failed.
    GOTO errors
  )
) ELSE (
  ECHO WARNING: Build skipped, disabled via NOBUILD environment variable.







>
>
>
>
>
>
|
>





|







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
  )
) ELSE (
  ECHO WARNING: Source tagging skipped, disabled via NOTAG environment variable.
)

CALL :fn_CopyVariable MSBUILD_ARGS_%BASE_CONFIGURATION% MSBUILD_ARGS_CFG

IF DEFINED USEDOTNET (
  SET MSBUILD=%DOTNET%
  SET SUBCOMMANDS=build
) ELSE (
  CALL :fn_UnsetVariable SUBCOMMANDS
)

%_VECHO% SubCommands = '%SUBCOMMANDS%'
%_VECHO% BuildArgs = '%BUILD_ARGS%'
%_VECHO% MsBuildArgs = '%MSBUILD_ARGS%'
%_VECHO% MsBuildArgsCfg = '%MSBUILD_ARGS_CFG%'

IF NOT DEFINED NOBUILD (
  %__ECHO% "%MSBUILD%" %SUBCOMMANDS% "%SOLUTION%" "/target:%TARGET%" "/property:Configuration=%MSBUILD_CONFIGURATION%" "/property:Platform=%PLATFORM%" %LOGGING% %BUILD_ARGS% %MSBUILD_ARGS% %MSBUILD_ARGS_CFG%

  IF ERRORLEVEL 1 (
    ECHO Build failed.
    GOTO errors
  )
) ELSE (
  ECHO WARNING: Build skipped, disabled via NOBUILD environment variable.
702
703
704
705
706
707
708










709
710
711
712
713
714
715
  IF DEFINED BUILDTOOLDIR IF NOT EXIST "%BUILDTOOLDIR%\%CSC%" IF NOT EXIST "%BUILDTOOLDIR%\Roslyn\%CSC%" (
    %_AECHO% File "%CSC%" not in build tool directory, unsetting...
    CALL :fn_UnsetVariable BUILDTOOLDIR
    GOTO :EOF
  )
  %_AECHO% Build tool directory "%BUILDTOOLDIR%" verified.
  GOTO :EOF











:fn_UnquoteVariable
  IF NOT DEFINED %1 GOTO :EOF
  SETLOCAL
  SET __ECHO_CMD=ECHO %%%1%%
  FOR /F "delims=" %%V IN ('%__ECHO_CMD%') DO (
    SET VALUE=%%V







>
>
>
>
>
>
>
>
>
>







747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
  IF DEFINED BUILDTOOLDIR IF NOT EXIST "%BUILDTOOLDIR%\%CSC%" IF NOT EXIST "%BUILDTOOLDIR%\Roslyn\%CSC%" (
    %_AECHO% File "%CSC%" not in build tool directory, unsetting...
    CALL :fn_UnsetVariable BUILDTOOLDIR
    GOTO :EOF
  )
  %_AECHO% Build tool directory "%BUILDTOOLDIR%" verified.
  GOTO :EOF

:fn_VerifyDotNetCore
  FOR %%T IN (%DOTNET%) DO (
    SET %%T_PATH=%%~dp$PATH:T
  )
  IF NOT DEFINED %DOTNET%_PATH (
    ECHO The .NET Core executable "%DOTNET%" is required to be in the PATH.
    GOTO errors
  )
  GOTO :EOF

:fn_UnquoteVariable
  IF NOT DEFINED %1 GOTO :EOF
  SETLOCAL
  SET __ECHO_CMD=ECHO %%%1%%
  FOR /F "delims=" %%V IN ('%__ECHO_CMD%') DO (
    SET VALUE=%%V
Changes to Setup/data/verify.lst.
310
311
312
313
314
315
316

317
318
319
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
354
355
356
357
358
359
360
361
362
363
364
365
366
367

368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387

388
389
390
391
392
393
394
395
396
397
398
399
400
401

402
403
404
405
406
407
408
  Setup/set_Debug_x86_2005.bat
  Setup/set_Debug_x86_2008.bat
  Setup/set_Debug_x86_2010.bat
  Setup/set_Debug_x86_2012.bat
  Setup/set_Debug_x86_2013.bat
  Setup/set_Debug_x86_2015.bat
  Setup/set_Debug_x86_2017.bat

  Setup/set_DebugNativeOnly.bat
  Setup/set_DebugNativeOnly_ARMV7.bat
  "Setup/set_DebugNativeOnly_CEPC DevPlatform.bat"
  "Setup/set_DebugNativeOnly_Pocket PC 2003 (ARMV4).bat"
  Setup/set_DebugNativeOnly_Win32.bat
  Setup/set_DebugNativeOnly_x64.bat
  Setup/set_DebugNativeOnly_x64_2005.bat
  Setup/set_DebugNativeOnly_x64_2008.bat
  Setup/set_DebugNativeOnly_x64_2010.bat
  Setup/set_DebugNativeOnly_x64_2012.bat
  Setup/set_DebugNativeOnly_x64_2013.bat
  Setup/set_DebugNativeOnly_x64_2015.bat
  Setup/set_DebugNativeOnly_x64_2017.bat
  Setup/set_DebugNativeOnly_x86_2005.bat
  Setup/set_DebugNativeOnly_x86_2008.bat
  Setup/set_DebugNativeOnly_x86_2010.bat
  Setup/set_DebugNativeOnly_x86_2012.bat
  Setup/set_DebugNativeOnly_x86_2013.bat
  Setup/set_DebugNativeOnly_x86_2015.bat
  Setup/set_DebugNativeOnly_x86_2017.bat


  Setup/set_netFx20.bat
  Setup/set_netFx35.bat
  Setup/set_netFx40.bat
  Setup/set_netFx45.bat
  Setup/set_netFx451.bat
  Setup/set_netFx452.bat
  Setup/set_netFx46.bat
  Setup/set_netFx461.bat
  Setup/set_netFx462.bat
  Setup/set_netFx47.bat
  Setup/set_netFx471.bat

  Setup/set_Release.bat
  Setup/set_Release_ARMV7.bat
  "Setup/set_Release_CEPC DevPlatform.bat"
  "Setup/set_Release_Pocket PC 2003 (ARMV4).bat"
  Setup/set_Release_Win32.bat
  Setup/set_Release_x64.bat
  Setup/set_Release_x64_2005.bat
  Setup/set_Release_x64_2008.bat
  Setup/set_Release_x64_2010.bat
  Setup/set_Release_x64_2012.bat
  Setup/set_Release_x64_2013.bat
  Setup/set_Release_x64_2015.bat
  Setup/set_Release_x64_2017.bat
  Setup/set_Release_x86_2005.bat
  Setup/set_Release_x86_2008.bat
  Setup/set_Release_x86_2010.bat
  Setup/set_Release_x86_2012.bat
  Setup/set_Release_x86_2013.bat
  Setup/set_Release_x86_2015.bat
  Setup/set_Release_x86_2017.bat

  Setup/set_ReleaseNativeOnly.bat
  Setup/set_ReleaseNativeOnly_ARMV7.bat
  "Setup/set_ReleaseNativeOnly_CEPC DevPlatform.bat"
  "Setup/set_ReleaseNativeOnly_Pocket PC 2003 (ARMV4).bat"
  Setup/set_ReleaseNativeOnly_Win32.bat
  Setup/set_ReleaseNativeOnly_x64.bat
  Setup/set_ReleaseNativeOnly_x64_2005.bat
  Setup/set_ReleaseNativeOnly_x64_2008.bat
  Setup/set_ReleaseNativeOnly_x64_2010.bat
  Setup/set_ReleaseNativeOnly_x64_2012.bat
  Setup/set_ReleaseNativeOnly_x64_2013.bat
  Setup/set_ReleaseNativeOnly_x64_2015.bat
  Setup/set_ReleaseNativeOnly_x64_2017.bat
  Setup/set_ReleaseNativeOnly_x86_2005.bat
  Setup/set_ReleaseNativeOnly_x86_2008.bat
  Setup/set_ReleaseNativeOnly_x86_2010.bat
  Setup/set_ReleaseNativeOnly_x86_2012.bat
  Setup/set_ReleaseNativeOnly_x86_2013.bat
  Setup/set_ReleaseNativeOnly_x86_2015.bat
  Setup/set_ReleaseNativeOnly_x86_2017.bat

  Setup/set_x64_2005.bat
  Setup/set_x64_2008.bat
  Setup/set_x64_2010.bat
  Setup/set_x64_2012.bat
  Setup/set_x64_2013.bat
  Setup/set_x64_2015.bat
  Setup/set_x64_2017.bat
  Setup/set_x86_2005.bat
  Setup/set_x86_2008.bat
  Setup/set_x86_2010.bat
  Setup/set_x86_2012.bat
  Setup/set_x86_2013.bat
  Setup/set_x86_2015.bat
  Setup/set_x86_2017.bat

  Setup/sourceTag.eagle
  Setup/test.bat
  Setup/test_all.bat
  Setup/test_ce_200x.bat
  Setup/updateFileInfo.tcl
  Setup/verify.eagle
  Setup/vsSp.bat







>




















>
>











>




















>




















>














>







310
311
312
313
314
315
316
317
318
319
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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
  Setup/set_Debug_x86_2005.bat
  Setup/set_Debug_x86_2008.bat
  Setup/set_Debug_x86_2010.bat
  Setup/set_Debug_x86_2012.bat
  Setup/set_Debug_x86_2013.bat
  Setup/set_Debug_x86_2015.bat
  Setup/set_Debug_x86_2017.bat
  Setup/set_Debug_x86_NetStandard20.bat
  Setup/set_DebugNativeOnly.bat
  Setup/set_DebugNativeOnly_ARMV7.bat
  "Setup/set_DebugNativeOnly_CEPC DevPlatform.bat"
  "Setup/set_DebugNativeOnly_Pocket PC 2003 (ARMV4).bat"
  Setup/set_DebugNativeOnly_Win32.bat
  Setup/set_DebugNativeOnly_x64.bat
  Setup/set_DebugNativeOnly_x64_2005.bat
  Setup/set_DebugNativeOnly_x64_2008.bat
  Setup/set_DebugNativeOnly_x64_2010.bat
  Setup/set_DebugNativeOnly_x64_2012.bat
  Setup/set_DebugNativeOnly_x64_2013.bat
  Setup/set_DebugNativeOnly_x64_2015.bat
  Setup/set_DebugNativeOnly_x64_2017.bat
  Setup/set_DebugNativeOnly_x86_2005.bat
  Setup/set_DebugNativeOnly_x86_2008.bat
  Setup/set_DebugNativeOnly_x86_2010.bat
  Setup/set_DebugNativeOnly_x86_2012.bat
  Setup/set_DebugNativeOnly_x86_2013.bat
  Setup/set_DebugNativeOnly_x86_2015.bat
  Setup/set_DebugNativeOnly_x86_2017.bat
  Setup/set_DebugNativeOnly_x86_NetStandard20.bat
  Setup/set_netCore20.bat
  Setup/set_netFx20.bat
  Setup/set_netFx35.bat
  Setup/set_netFx40.bat
  Setup/set_netFx45.bat
  Setup/set_netFx451.bat
  Setup/set_netFx452.bat
  Setup/set_netFx46.bat
  Setup/set_netFx461.bat
  Setup/set_netFx462.bat
  Setup/set_netFx47.bat
  Setup/set_netFx471.bat
  Setup/set_NetStandard20.bat
  Setup/set_Release.bat
  Setup/set_Release_ARMV7.bat
  "Setup/set_Release_CEPC DevPlatform.bat"
  "Setup/set_Release_Pocket PC 2003 (ARMV4).bat"
  Setup/set_Release_Win32.bat
  Setup/set_Release_x64.bat
  Setup/set_Release_x64_2005.bat
  Setup/set_Release_x64_2008.bat
  Setup/set_Release_x64_2010.bat
  Setup/set_Release_x64_2012.bat
  Setup/set_Release_x64_2013.bat
  Setup/set_Release_x64_2015.bat
  Setup/set_Release_x64_2017.bat
  Setup/set_Release_x86_2005.bat
  Setup/set_Release_x86_2008.bat
  Setup/set_Release_x86_2010.bat
  Setup/set_Release_x86_2012.bat
  Setup/set_Release_x86_2013.bat
  Setup/set_Release_x86_2015.bat
  Setup/set_Release_x86_2017.bat
  Setup/set_Release_x86_NetStandard20.bat
  Setup/set_ReleaseNativeOnly.bat
  Setup/set_ReleaseNativeOnly_ARMV7.bat
  "Setup/set_ReleaseNativeOnly_CEPC DevPlatform.bat"
  "Setup/set_ReleaseNativeOnly_Pocket PC 2003 (ARMV4).bat"
  Setup/set_ReleaseNativeOnly_Win32.bat
  Setup/set_ReleaseNativeOnly_x64.bat
  Setup/set_ReleaseNativeOnly_x64_2005.bat
  Setup/set_ReleaseNativeOnly_x64_2008.bat
  Setup/set_ReleaseNativeOnly_x64_2010.bat
  Setup/set_ReleaseNativeOnly_x64_2012.bat
  Setup/set_ReleaseNativeOnly_x64_2013.bat
  Setup/set_ReleaseNativeOnly_x64_2015.bat
  Setup/set_ReleaseNativeOnly_x64_2017.bat
  Setup/set_ReleaseNativeOnly_x86_2005.bat
  Setup/set_ReleaseNativeOnly_x86_2008.bat
  Setup/set_ReleaseNativeOnly_x86_2010.bat
  Setup/set_ReleaseNativeOnly_x86_2012.bat
  Setup/set_ReleaseNativeOnly_x86_2013.bat
  Setup/set_ReleaseNativeOnly_x86_2015.bat
  Setup/set_ReleaseNativeOnly_x86_2017.bat
  Setup/set_ReleaseNativeOnly_x86_NetStandard20.bat
  Setup/set_x64_2005.bat
  Setup/set_x64_2008.bat
  Setup/set_x64_2010.bat
  Setup/set_x64_2012.bat
  Setup/set_x64_2013.bat
  Setup/set_x64_2015.bat
  Setup/set_x64_2017.bat
  Setup/set_x86_2005.bat
  Setup/set_x86_2008.bat
  Setup/set_x86_2010.bat
  Setup/set_x86_2012.bat
  Setup/set_x86_2013.bat
  Setup/set_x86_2015.bat
  Setup/set_x86_2017.bat
  Setup/set_x86_NetStandard20.bat
  Setup/sourceTag.eagle
  Setup/test.bat
  Setup/test_all.bat
  Setup/test_ce_200x.bat
  Setup/updateFileInfo.tcl
  Setup/verify.eagle
  Setup/vsSp.bat
Changes to Setup/set_2005.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2005.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=1
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2005.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=1
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
Changes to Setup/set_2008.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2008.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=
SET NETFX35ONLY=1
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2008.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=
SET NETFX35ONLY=1
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
Changes to Setup/set_2010.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2010.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=1
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2010.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=1
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
Changes to Setup/set_2012.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2012.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=1
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2012.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=1
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
Changes to Setup/set_2013.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2013.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=1
SET NETFX452ONLY=
SET NETFX46ONLY=









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2013.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=1
SET NETFX452ONLY=
SET NETFX46ONLY=
Changes to Setup/set_2015.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2015.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=1









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2015.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=1
Changes to Setup/set_2017.bat.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
@ECHO OFF

::
:: set_2017.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF

::
:: set_2017.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=
SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
Added Setup/set_DebugNativeOnly_x86_NetStandard20.bat.






















>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
@ECHO OFF

::
:: set_DebugNativeOnly_x86_NetStandard20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET CONFIGURATION=DebugNativeOnly
CALL "%~dp0\set_x86_NetStandard20.bat"
Added Setup/set_Debug_x86_NetStandard20.bat.






















>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
@ECHO OFF

::
:: set_Debug_x86_NetStandard20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET CONFIGURATION=Debug
CALL "%~dp0\set_x86_NetStandard20.bat"
Added Setup/set_NetStandard20.bat.














































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@ECHO OFF

::
:: set_NetStandard20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET NETCORE20ONLY=1
SET NETFX20ONLY=
SET NETFX35ONLY=
SET NETFX40ONLY=
SET NETFX45ONLY=
SET NETFX451ONLY=
SET NETFX452ONLY=
SET NETFX46ONLY=
SET NETFX461ONLY=
SET NETFX462ONLY=
SET NETFX47ONLY=
SET NETFX471ONLY=

VERIFY > NUL
Added Setup/set_ReleaseNativeOnly_x86_NetStandard20.bat.






















>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
@ECHO OFF

::
:: set_ReleaseNativeOnly_x86_NetStandard20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET CONFIGURATION=ReleaseNativeOnly
CALL "%~dp0\set_x86_NetStandard20.bat"
Added Setup/set_Release_x86_NetStandard20.bat.






















>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
@ECHO OFF

::
:: set_Release_x86_NetStandard20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET CONFIGURATION=Release
CALL "%~dp0\set_x86_NetStandard20.bat"
Changes to Setup/set_common.bat.
130
131
132
133
134
135
136




137
138
)

IF NOT DEFINED NOVS2017 (
  IF DEFINED VS2017SP (
    SET YEARS=%YEARS% 2017
  )
)





:end_of_file







>
>
>
>


130
131
132
133
134
135
136
137
138
139
140
141
142
)

IF NOT DEFINED NOVS2017 (
  IF DEFINED VS2017SP (
    SET YEARS=%YEARS% 2017
  )
)

IF NOT DEFINED NONETSTANDARD20 (
  SET YEARS=%YEARS% NetStandard20
)

:end_of_file
Added Setup/set_netCore20.bat.












































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
27
28
29
30
31
32
33
34
35
36
37
38
@ECHO OFF

::
:: set_netCore20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

IF NOT DEFINED ISNETFX2 (
  SET ISNETFX2=False
)

IF NOT DEFINED VCRUNTIME (
  SET VCRUNTIME=2017_VCU3
)

IF NOT DEFINED CONFIGURATION (
  SET CONFIGURATION=Release
)

IF NOT DEFINED PLATFORM (
  SET PLATFORM=Win32
)

IF NOT DEFINED PROCESSOR (
  SET PROCESSOR=x86
)

IF NOT DEFINED YEAR (
  SET YEAR=2017
)

IF NOT DEFINED FRAMEWORK (
  SET FRAMEWORK=netCore20
)

:end_of_file
Added Setup/set_x86_NetStandard20.bat.




























>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@ECHO OFF

::
:: set_x86_NetStandard20.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SET ISNETFX2=False
SET VCRUNTIME=2017_VCU3
SET PLATFORM=Win32
SET PROCESSOR=x86
SET YEAR=NetStandard20
Changes to System.Data.SQLite/LINQ/SQLiteFactory_Linq.cs.
74
75
76
77
78
79
80

81

82
83
84
85
86
87
88
        (_dbProviderServicesType != null && serviceType == _dbProviderServicesType))
      {
        return GetSQLiteProviderServicesInstance();
      }
      return null;
    }


    [ReflectionPermission(SecurityAction.Assert, MemberAccess = true)]

    private object GetSQLiteProviderServicesInstance()
    {
        if (_sqliteServices == null)
        {
            string typeName = UnsafeNativeMethods.GetSettingValue(
                "TypeName_SQLiteProviderServices", null);








>

>







74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
        (_dbProviderServicesType != null && serviceType == _dbProviderServicesType))
      {
        return GetSQLiteProviderServicesInstance();
      }
      return null;
    }

#if !NET_STANDARD_20
    [ReflectionPermission(SecurityAction.Assert, MemberAccess = true)]
#endif
    private object GetSQLiteProviderServicesInstance()
    {
        if (_sqliteServices == null)
        {
            string typeName = UnsafeNativeMethods.GetSettingValue(
                "TypeName_SQLiteProviderServices", null);

Changes to System.Data.SQLite/SQLiteDefineConstants.cs.
139
140
141
142
143
144
145




146
147
148
149
150
151
152
#if NET_471
            "NET_471",
#endif

#if NET_COMPACT_20
            "NET_COMPACT_20",
#endif





#if PLATFORM_COMPACTFRAMEWORK
            "PLATFORM_COMPACTFRAMEWORK",
#endif

#if PRELOAD_NATIVE_LIBRARY
            "PRELOAD_NATIVE_LIBRARY",







>
>
>
>







139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#if NET_471
            "NET_471",
#endif

#if NET_COMPACT_20
            "NET_COMPACT_20",
#endif

#if NET_STANDARD_20
            "NET_STANDARD_20",
#endif

#if PLATFORM_COMPACTFRAMEWORK
            "PLATFORM_COMPACTFRAMEWORK",
#endif

#if PRELOAD_NATIVE_LIBRARY
            "PRELOAD_NATIVE_LIBRARY",
Changes to System.Data.SQLite/SQLiteFunction.cs.
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
        }
    }

    /// <summary>
    /// Using reflection, enumerate all assemblies in the current appdomain looking for classes that
    /// have a SQLiteFunctionAttribute attribute, and registering them accordingly.
    /// </summary>
#if !PLATFORM_COMPACTFRAMEWORK
    [Security.Permissions.FileIOPermission(Security.Permissions.SecurityAction.Assert, AllFiles = Security.Permissions.FileIOPermissionAccess.PathDiscovery)]
#endif
    static SQLiteFunction()
    {
      _registeredFunctions = new Dictionary<SQLiteFunctionAttribute, object>();
      try
      {







|







640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
        }
    }

    /// <summary>
    /// Using reflection, enumerate all assemblies in the current appdomain looking for classes that
    /// have a SQLiteFunctionAttribute attribute, and registering them accordingly.
    /// </summary>
#if !PLATFORM_COMPACTFRAMEWORK && !NET_STANDARD_20
    [Security.Permissions.FileIOPermission(Security.Permissions.SecurityAction.Assert, AllFiles = Security.Permissions.FileIOPermissionAccess.PathDiscovery)]
#endif
    static SQLiteFunction()
    {
      _registeredFunctions = new Dictionary<SQLiteFunctionAttribute, object>();
      try
      {
Added System.Data.SQLite/System.Data.SQLite.NetStandard20.csproj.


































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<?xml version="1.0" encoding="utf-8"?>
<!--
 *
 * System.Data.SQLite.NetStandard20.csproj -
 *
 * Written by Joe Mistachkin.
 * Released to the public domain, use at your own risk!
 *
-->
<Project ToolsVersion="15.0">
  <!--
  ******************************************************************************
  **                     Import .NET Core SDK Properties                      **
  ******************************************************************************
  -->

  <!--
      WARNING: This project cannot use the recommended pattern of having the
               "Project" element simply include the "Sdk" attribute, due to
               the "BuildDependsOn" property not being honored, see:

               https://github.com/Microsoft/msbuild/issues/1680

               Instead, the .NET Core SDK properties file is imported here
               and the corresponding targets file is imported right before
               resetting the "BuildDependsOn" property to include targets
               necessary for this project.
  -->
  <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

  <!--
  ******************************************************************************
  **                       Project Specific Properties                        **
  ******************************************************************************
  -->

  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25283A66}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>System.Data.SQLite</RootNamespace>
    <AssemblyName>System.Data.SQLite</AssemblyName>
    <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    <NetFx461>true</NetFx461>
    <IsDotNetStandard>true</IsDotNetStandard>
    <ConfigurationYear>NetStandard20</ConfigurationYear>
    <TargetFramework>netstandard2.0</TargetFramework>
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
    <Deterministic>False</Deterministic>
    <EnableDefaultItems>false</EnableDefaultItems>
  </PropertyGroup>

  <!--
  ******************************************************************************
  **                     Import Project Default Settings                      **
  ******************************************************************************
  -->

  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Platform.Settings.targets" />
  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />

  <!--
  ******************************************************************************
  **                       Import Project Build Targets                       **
  ******************************************************************************
  -->

  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />

  <!--
  ******************************************************************************
  **               Convert Project Settings To MSBuild Settings               **
  ******************************************************************************
  -->

  <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    <OutputPath>$(BinaryOutputPath)</OutputPath>
    <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
  </PropertyGroup>

  <!--
  ******************************************************************************
  **                Project Configuration Specific Properties                 **
  ******************************************************************************
  -->

  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>

  <!--
  ******************************************************************************
  -->

  <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>

  <!--
  ******************************************************************************
  **                        Import Assembly References                        **
  ******************************************************************************
  -->

  <Import Project="$(MSBuildProjectDirectory)\Targets\System.Data.SQLite.References.targets" />

  <!--
  ******************************************************************************
  **                        Import Assembly References                        **
  ******************************************************************************
  -->

  <Import Project="$(MSBuildProjectDirectory)\Targets\System.Data.SQLite.Properties.targets" />
  <Import Project="$(MSBuildProjectDirectory)\Targets\System.Data.SQLite.Files.targets" />

  <!--
  ******************************************************************************
  **                       Import .NET Core SDK Targets                       **
  ******************************************************************************
  -->

  <!--
      WARNING: This project cannot use the recommended pattern of having the
               "Project" element simply include the "Sdk" attribute, see the
               comment at the top of this file for more information.
  -->
  <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

  <!--
  ******************************************************************************
  **                  Add Targets To BuildDependsOn Property                  **
  ******************************************************************************
  -->

  <PropertyGroup>
    <BuildDependsOn>
      $(BuildDependsOn);
      CopyConfigurations;
    </BuildDependsOn>
    <CleanDependsOn>
      $(CleanDependsOn);
      CleanConfigurations;
    </CleanDependsOn>
  </PropertyGroup>
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>
Changes to System.Data.SQLite/Targets/System.Data.SQLite.Properties.targets.
142
143
144
145
146
147
148










149
150
151
152
153
154
155
            within the project file itself).
  -->
  <PropertyGroup Condition="'$(IsCompactFramework)' != 'false' And
                            '$(TargetFrameworkVersion)' == 'v2.0'">
    <DefineConstants>$(DefineConstants);NET_COMPACT_20</DefineConstants>
  </PropertyGroup>











  <!--
      NOTE: Enable extra internal state checking?
  -->
  <PropertyGroup Condition="'$(CheckState)' != 'false'">
    <DefineConstants>$(DefineConstants);CHECK_STATE</DefineConstants>
  </PropertyGroup>








>
>
>
>
>
>
>
>
>
>







142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
            within the project file itself).
  -->
  <PropertyGroup Condition="'$(IsCompactFramework)' != 'false' And
                            '$(TargetFrameworkVersion)' == 'v2.0'">
    <DefineConstants>$(DefineConstants);NET_COMPACT_20</DefineConstants>
  </PropertyGroup>

  <!--
      NOTE: Only use functionality available in .NET Standard 2.0?  By default,
            this is disabled.  This must be enabled to successfully build the
            project using .NET Core 2.0 SDK (if necessary, it will typically
            be enabled from within the project file itself).
  -->
  <PropertyGroup Condition="'$(IsDotNetStandard)' != 'false'">
    <DefineConstants>$(DefineConstants);NET_STANDARD_20</DefineConstants>
  </PropertyGroup>

  <!--
      NOTE: Enable extra internal state checking?
  -->
  <PropertyGroup Condition="'$(CheckState)' != 'false'">
    <DefineConstants>$(DefineConstants);CHECK_STATE</DefineConstants>
  </PropertyGroup>

Changes to System.Data.SQLite/Targets/System.Data.SQLite.References.targets.
9
10
11
12
13
14
15
16

17
18
19
20
21
22
23
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <!--
  ******************************************************************************
  **                     Core References (Full Framework)                     **
  ******************************************************************************
  -->

  <ItemGroup Condition="'$(IsCompactFramework)' == 'false'">

    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Transactions" />
    <Reference Include="System.Xml" />
  </ItemGroup>

  <!--







|
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <!--
  ******************************************************************************
  **                     Core References (Full Framework)                     **
  ******************************************************************************
  -->

  <ItemGroup Condition="'$(IsCompactFramework)' == 'false' And
                        '$(IsDotNetStandard)' == 'false'">
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Transactions" />
    <Reference Include="System.Xml" />
  </ItemGroup>

  <!--
Changes to Targets/SQLite.NET.Settings.targets.
415
416
417
418
419
420
421





422
423
424
425
426
427
428
    <UseSqliteStandard Condition="'$(UseSqliteStandard)' == ''">false</UseSqliteStandard>

    <!--
        NOTE: Is the project being built to support the .NET Compact Framework?
    -->
    <IsCompactFramework Condition="'$(IsCompactFramework)' == ''">false</IsCompactFramework>






    <!--
        NOTE: Emit an AssemblyFlags attribute that includes the Retargetable
              flag from the AssemblyNameFlags enumeration?
    -->
    <IsRetargetable Condition="'$(IsRetargetable)' == ''">false</IsRetargetable>

    <!--







>
>
>
>
>







415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
    <UseSqliteStandard Condition="'$(UseSqliteStandard)' == ''">false</UseSqliteStandard>

    <!--
        NOTE: Is the project being built to support the .NET Compact Framework?
    -->
    <IsCompactFramework Condition="'$(IsCompactFramework)' == ''">false</IsCompactFramework>

    <!--
        NOTE: Is the project being built to support .NET Standard 2.0?
    -->
    <IsDotNetStandard Condition="'$(IsDotNetStandard)' == ''">false</IsDotNetStandard>

    <!--
        NOTE: Emit an AssemblyFlags attribute that includes the Retargetable
              flag from the AssemblyNameFlags enumeration?
    -->
    <IsRetargetable Condition="'$(IsRetargetable)' == ''">false</IsRetargetable>

    <!--
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872

  <!--
  ******************************************************************************
  **                         Relative Path Properties                         **
  ******************************************************************************
  -->

  <PropertyGroup Condition="'$(SQLiteNetDir)' != ''">
    <!--
        NOTE: Keep all the intermediate files in one place.  The Visual Studio
              IDE seems to have a nasty habit of ignoring this setting.  The
              Visual Studio IDE then fails to build the project(s) properly when
              the output does not end up where it expects the output to be.  The
              value of this property must have a trailing backslash.
    -->







|







863
864
865
866
867
868
869
870
871
872
873
874
875
876
877

  <!--
  ******************************************************************************
  **                         Relative Path Properties                         **
  ******************************************************************************
  -->

  <PropertyGroup Condition="'$(SQLiteNetDir)' != '' And '$(IsDotNetStandard)' == 'false'">
    <!--
        NOTE: Keep all the intermediate files in one place.  The Visual Studio
              IDE seems to have a nasty habit of ignoring this setting.  The
              Visual Studio IDE then fails to build the project(s) properly when
              the output does not end up where it expects the output to be.  The
              value of this property must have a trailing backslash.
    -->