System.Data.SQLite
Check-in [2ad2abc109]
Not logged in

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

Overview
Comment:Add release build automation tool (build.bat). Add readme.htm solution item. Add LINQ assembly to setup. Add diagnostic capabilities to setup baking tools. Change version of LINQ assembly to match primary assembly. Fix warning in compact framework project related to importing the C# build tasks more than once.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2ad2abc109a0310946df524e5c3b03bfeeb85577
User & Date: mistachkin 2011-04-09 21:24:03
Context
2011-04-09
21:41
Fail setup if the return code from the VC++ runtime installer is non-zero. check-in: 19bbb66461 user: mistachkin tags: trunk
21:24
Add release build automation tool (build.bat). Add readme.htm solution item. Add LINQ assembly to setup. Add diagnostic capabilities to setup baking tools. Change version of LINQ assembly to match primary assembly. Fix warning in compact framework project related to importing the C# build tasks more than once. check-in: 2ad2abc109 user: mistachkin tags: trunk
19:42
Unbreak StrongName signing on VS 2010 RTM. MSDN ref: 4b8f353d-8153-45d6-b286-10403cdf159a check-in: 742a2fd061 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.NET.2008.sln.

     1      1   Microsoft Visual Studio Solution File, Format Version 10.00
     2      2   # Visual Studio 2008
            3  +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{39A3B743-1EBD-4CC0-8E37-ACE3DD38B1C0}"
            4  +	ProjectSection(SolutionItems) = preProject
            5  +		readme.htm = readme.htm
            6  +	EndProjectSection
            7  +EndProject
     3      8   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite.2008", "System.Data.SQLite\System.Data.SQLite.2008.csproj", "{AC139952-261A-4463-B6FA-AEBC25283A66}"
     4      9   EndProject
     5     10   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite.Module.2008", "System.Data.SQLite\System.Data.SQLite.Module.2008.csproj", "{AC139952-261A-4463-B6FA-AEBC25284A66}"
     6     11   EndProject
     7     12   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite.Compact.2008", "System.Data.SQLite\System.Data.SQLite.Compact.2008.csproj", "{AC139951-261A-4463-B6FA-AEBC25283A66}"
     8     13   EndProject
     9     14   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test.2008", "test\test.2008.csproj", "{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}"

Changes to SQLite.NET.2010.sln.

     1      1   Microsoft Visual Studio Solution File, Format Version 11.00
     2      2   # Visual Studio 2010
            3  +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{39A3B743-1EBD-4CC0-8E37-ACE3DD38B1C0}"
            4  +	ProjectSection(SolutionItems) = preProject
            5  +		readme.htm = readme.htm
            6  +	EndProjectSection
            7  +EndProject
     3      8   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite.2010", "System.Data.SQLite\System.Data.SQLite.2010.csproj", "{AC139952-261A-4463-B6FA-AEBC25283A66}"
     4      9   EndProject
     5     10   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite.Module.2010", "System.Data.SQLite\System.Data.SQLite.Module.2010.csproj", "{AC139952-261A-4463-B6FA-AEBC25284A66}"
     6     11   EndProject
     7     12   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test.2010", "test\test.2010.csproj", "{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}"
     8     13   EndProject
     9     14   Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite.Interop.2010", "SQLite.Interop\SQLite.Interop.2010.vcxproj", "{53784BC1-A8BC-4AC8-8A3E-158D6807345A}"

Changes to Setup/SQLite.iss.

   224    224   end;
   225    225   
   226    226   [Components]
   227    227   Name: Application; Description: System.Data.SQLite components.; Types: custom compact full
   228    228   Name: Application\Core; Description: Core components.; Types: custom compact full
   229    229   Name: Application\Core\MSIL; Description: Core managed components.; Types: custom compact full
   230    230   Name: Application\Core\{#AppProcessor}; Description: Core native components.; Types: custom compact full
          231  +Name: Application\LINQ; Description: LINQ support components.; Types: custom compact full
   231    232   Name: Application\Symbols; Description: Debugging symbol components.; Types: custom compact full
   232    233   Name: Application\Documentation; Description: Documentation components.; Types: custom compact full
   233    234   Name: Application\Test; Description: Test components.; Types: custom compact full
   234    235   
   235    236   [Tasks]
   236         -Components: Application\Core\MSIL; Name: GAC; Description: Install the assemblies into the global assembly cache.; Flags: unchecked; Check: CheckIsNetFx2Setup() or CheckIsNetFx4Setup()
   237         -Components: Application\Core\MSIL; Name: NGEN; Description: Generate native images for the assemblies and install the images in the native image cache.; Check: CheckIsNetFx2Setup() or CheckIsNetFx4Setup()
          237  +Components: Application\Core\MSIL Or Application\LINQ; Name: GAC; Description: Install the assemblies into the global assembly cache.; Flags: unchecked; Check: CheckIsNetFx2Setup() or CheckIsNetFx4Setup()
          238  +Components: Application\Core\MSIL Or Application\LINQ; Name: NGEN; Description: Generate native images for the assemblies and install the images in the native image cache.; Check: CheckIsNetFx2Setup() or CheckIsNetFx4Setup()
   238    239   
   239    240   [Run]
   240    241   Components: Application\Core\MSIL; Tasks: NGEN; Filename: {code:GetNetFx2InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup()
   241    242   Components: Application\Core\MSIL; Tasks: NGEN; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup()
          243  +Components: Application\LINQ; Tasks: NGEN; Filename: {code:GetNetFx2InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.Linq.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup()
          244  +Components: Application\LINQ; Tasks: NGEN; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.Linq.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup()
   242    245   
   243    246   [UninstallRun]
   244    247   Components: Application\Core\MSIL; Tasks: NGEN; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "uninstall ""{app}\bin\System.Data.SQLite.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup()
   245    248   Components: Application\Core\MSIL; Tasks: NGEN; Filename: {code:GetNetFx2InstallRoot|Ngen.exe}; Parameters: "uninstall ""{app}\bin\System.Data.SQLite.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup()
          249  +Components: Application\LINQ; Tasks: NGEN; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "uninstall ""{app}\bin\System.Data.SQLite.Linq.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup()
          250  +Components: Application\LINQ; Tasks: NGEN; Filename: {code:GetNetFx2InstallRoot|Ngen.exe}; Parameters: "uninstall ""{app}\bin\System.Data.SQLite.Linq.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup()
   246    251   
   247    252   [Dirs]
   248    253   Name: {app}\bin
   249    254   Name: {app}\doc
   250    255   Name: {app}\GAC
   251    256   
   252    257   [Files]
   253    258   Components: Application\Core\{#AppProcessor}; Source: ..\Externals\MSVCPP\vcredist_{#AppProcessor}_{#VcRuntime}_SP1.exe; DestDir: {tmp}; Flags: dontcopy
   254    259   Components: Application; Source: ..\readme.htm; DestDir: {app}; Flags: restartreplace uninsrestartdelete isreadme
   255    260   Components: Application\Core\MSIL; Tasks: GAC; Source: ..\bin\Release\bin\System.Data.SQLite.dll; DestDir: {app}\GAC; StrongAssemblyName: "System.Data.SQLite, Version={#AppVersion}, Culture=neutral, PublicKeyToken={#AppPublicKey}, ProcessorArchitecture=MSIL"; Flags: restartreplace uninsrestartdelete uninsnosharedfileprompt sharedfile gacinstall
   256    261   Components: Application\Core\MSIL; Source: ..\bin\Release\bin\System.Data.SQLite.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   257    262   Components: Application\Core\MSIL and Application\Symbols; Source: ..\bin\Release\bin\System.Data.SQLite.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
          263  +Components: Application\LINQ; Tasks: GAC; Source: ..\bin\Release\bin\System.Data.SQLite.Linq.dll; DestDir: {app}\GAC; StrongAssemblyName: "System.Data.SQLite.Linq, Version={#AppVersion}, Culture=neutral, PublicKeyToken={#AppPublicKey}, ProcessorArchitecture=MSIL"; Flags: restartreplace uninsrestartdelete uninsnosharedfileprompt sharedfile gacinstall
          264  +Components: Application\LINQ; Source: ..\bin\Release\bin\System.Data.SQLite.Linq.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
          265  +Components: Application\LINQ and Application\Symbols; Source: ..\bin\Release\bin\System.Data.SQLite.Linq.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   258    266   Components: Application\Core\{#AppProcessor}; Source: ..\bin\{#AppPlatform}\ReleaseNativeOnly\SQLite.Interop.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   259    267   Components: Application\Core\{#AppProcessor} and Application\Symbols; Source: ..\bin\{#AppPlatform}\ReleaseNativeOnly\SQLite.Interop.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   260    268   Components: Application\Documentation; Source: ..\doc\SQLite.NET.chm; DestDir: {app}\doc; Flags: restartreplace uninsrestartdelete
   261    269   Components: Application\Test; Source: ..\bin\Release\bin\test.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   262    270   Components: Application\Test and Application\Symbols; Source: ..\bin\Release\bin\test.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   263    271   Components: Application\Test; Source: ..\bin\Release\bin\test.exe.config; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   264    272   
   265    273   [Icons]
   266         -Name: {group}\Test Suite; Filename: {app}\bin\test.exe; WorkingDir: {app}\bin; IconFilename: {app}\bin\test.exe; Comment: Launch Test Suite; IconIndex: 0; Flags: createonlyiffileexists
          274  +Name: {group}\Test Application; Filename: {app}\bin\test.exe; WorkingDir: {app}\bin; IconFilename: {app}\bin\test.exe; Comment: Launch Test Application; IconIndex: 0; Flags: createonlyiffileexists
   267    275   Name: {group}\Class Library Documentation; Filename: {app}\doc\SQLite.NET.chm; WorkingDir: {app}\doc; Comment: Launch Class Library Documentation; Flags: createonlyiffileexists
   268    276   Name: {group}\README File; Filename: {app}\readme.htm; WorkingDir: {app}; Comment: View README File; Flags: createonlyiffileexists

Changes to Setup/bake.bat.

     7      7   ::
     8      8   :: Written by Joe Mistachkin.
     9      9   :: Released to the public domain, use at your own risk!
    10     10   ::
    11     11   
    12     12   SETLOCAL
    13     13   
           14  +REM SET _ECHO=ECHO
           15  +IF NOT DEFINED _AECHO (SET _AECHO=REM)
           16  +IF NOT DEFINED _CECHO (SET _CECHO=REM)
           17  +IF NOT DEFINED _VECHO (SET _VECHO=REM)
           18  +
           19  +%_AECHO% Running %0 %*
           20  +
    14     21   SET PATH=%ProgramFiles%\Inno Setup 5;%PATH%
    15     22   
    16         -ISCC.exe SQLite.iss "/dAppId=%APPID%" "/dAppVersion=%VERSION%" "/dAppPublicKey=%PUBLICKEY%" "/dAppURL=%URL%" "/dIsNetFx2=%ISNETFX2%" "/dVcRuntime=%VCRUNTIME%" "/dAppPlatform=%PLATFORM%" "/dAppProcessor=%PROCESSOR%"
           23  +%_ECHO% ISCC.exe SQLite.iss "/dAppId=%APPID%" "/dAppVersion=%VERSION%" "/dAppPublicKey=%PUBLICKEY%" "/dAppURL=%URL%" "/dIsNetFx2=%ISNETFX2%" "/dVcRuntime=%VCRUNTIME%" "/dAppPlatform=%PLATFORM%" "/dAppProcessor=%PROCESSOR%"
    17     24   
    18     25   IF %ERRORLEVEL% NEQ 0 (
    19     26     ECHO Failed to compile setup.
    20     27     GOTO errors
    21     28   )
    22     29   
    23     30   GOTO no_errors
................................................................................
    30     37     VERIFY MAYBE 2> NUL
    31     38     GOTO :EOF
    32     39   
    33     40   :errors
    34     41     CALL :fn_SetErrorLevel
    35     42     ENDLOCAL
    36     43     ECHO.
    37         -  ECHO Failure, errors were encountered.
           44  +  ECHO Bake failure, errors were encountered.
    38     45     GOTO end_of_file
    39     46   
    40     47   :no_errors
    41     48     CALL :fn_ResetErrorLevel
    42     49     ENDLOCAL
    43     50     ECHO.
    44         -  ECHO Success, no errors were encountered.
           51  +  ECHO Bake success, no errors were encountered.
    45     52     GOTO end_of_file
    46     53   
    47     54   :end_of_file
    48         -EXIT /B %ERRORLEVEL%
           55  +%_ECHO% EXIT /B %ERRORLEVEL%

Changes to Setup/bake_all.bat.

     7      7   ::
     8      8   :: Written by Joe Mistachkin.
     9      9   :: Released to the public domain, use at your own risk!
    10     10   ::
    11     11   
    12     12   SETLOCAL
    13     13   
           14  +REM SET _ECHO=ECHO
           15  +IF NOT DEFINED _AECHO (SET _AECHO=REM)
           16  +IF NOT DEFINED _CECHO (SET _CECHO=REM)
           17  +IF NOT DEFINED _VECHO (SET _VECHO=REM)
           18  +
           19  +%_AECHO% Running %0 %*
           20  +
    14     21   SET TOOLS=%~dp0
    15     22   SET TOOLS=%TOOLS:~0,-1%
    16     23   
    17         -CALL "%TOOLS%\set_common.bat"
           24  +%_VECHO% Tools = '%TOOLS%'
           25  +
           26  +%_ECHO% CALL "%TOOLS%\set_common.bat"
    18     27   
    19     28   IF ERRORLEVEL 1 (
    20     29     ECHO Could not set common variables.
    21     30     GOTO errors
    22     31   )
           32  +
           33  +IF NOT DEFINED PROCESSORS (
           34  +  SET PROCESSORS=x86
           35  +)
           36  +
           37  +%_VECHO% Processors = '%PROCESSORS%'
           38  +
           39  +IF NOT DEFINED YEARS (
           40  +  SET YEARS=2008
           41  +)
           42  +
           43  +%_VECHO% Years = '%YEARS%'
    23     44   
    24     45   FOR %%P IN (%PROCESSORS%) DO (
    25     46     FOR %%Y IN (%YEARS%) DO (
    26         -    CALL "%TOOLS%\set_%%P_%%Y.bat"
           47  +    %_ECHO% CALL "%TOOLS%\set_%%P_%%Y.bat"
    27     48   
    28     49       IF ERRORLEVEL 1 (
    29     50         ECHO Could not set variables for %%P/%%Y.
    30     51         GOTO errors
    31     52       )
    32     53   
    33         -    CALL "%TOOLS%\bake.bat"
           54  +    %_ECHO% CALL "%TOOLS%\bake.bat"
    34     55   
    35     56       IF ERRORLEVEL 1 (
    36     57         ECHO Could not bake setup for %%P/%%Y.
    37     58         GOTO errors
    38     59       )
    39     60     )
    40     61   )
................................................................................
    60     81     CALL :fn_ResetErrorLevel
    61     82     ENDLOCAL
    62     83     ECHO.
    63     84     ECHO Success, no errors were encountered.
    64     85     GOTO end_of_file
    65     86   
    66     87   :end_of_file
    67         -EXIT /B %ERRORLEVEL%
           88  +%_ECHO% EXIT /B %ERRORLEVEL%

Added Setup/build.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: build.bat --
            5  +::
            6  +:: MSBuild Wrapper Tool
            7  +::
            8  +:: Written by Joe Mistachkin.
            9  +:: Released to the public domain, use at your own risk!
           10  +::
           11  +
           12  +SETLOCAL
           13  +
           14  +REM SET _ECHO=ECHO
           15  +IF NOT DEFINED _AECHO (SET _AECHO=REM)
           16  +IF NOT DEFINED _CECHO (SET _CECHO=REM)
           17  +IF NOT DEFINED _VECHO (SET _VECHO=REM)
           18  +
           19  +%_AECHO% Running %0 %*
           20  +
           21  +SET ROOT=%~dp0\..
           22  +SET ROOT=%ROOT:\\=\%
           23  +
           24  +%_VECHO% Root = '%ROOT%'
           25  +
           26  +SET CONFIGURATION=%1
           27  +
           28  +IF DEFINED CONFIGURATION (
           29  +  SET CONFIGURATION=%CONFIGURATION:"=%
           30  +  REM "
           31  +) ELSE (
           32  +  %_AECHO% No configuration specified, using default...
           33  +  SET CONFIGURATION=ReleaseNativeOnly
           34  +)
           35  +
           36  +%_VECHO% Configuration = '%CONFIGURATION%'
           37  +
           38  +SET PLATFORM=%2
           39  +
           40  +IF DEFINED PLATFORM (
           41  +  SET PLATFORM=%PLATFORM:"=%
           42  +  REM "
           43  +) ELSE (
           44  +  %_AECHO% No platform specified, using default...
           45  +  SET PLATFORM=Win32
           46  +)
           47  +
           48  +%_VECHO% Platform = '%PLATFORM%'
           49  +
           50  +SET TOOLS=%~dp0
           51  +SET TOOLS=%TOOLS:\\=\%
           52  +
           53  +%_VECHO% Tools = '%TOOLS%'
           54  +
           55  +IF EXIST "%TOOLS%\set_%CONFIGURATION%_%PLATFORM%.bat" (
           56  +  %_AECHO% Running "%TOOLS%\set_%CONFIGURATION%_%PLATFORM%.bat"...
           57  +  %_ECHO% CALL "%TOOLS%\set_%CONFIGURATION%_%PLATFORM%.bat"
           58  +
           59  +  IF ERRORLEVEL 1 (
           60  +    ECHO File "%TOOLS%\set_%CONFIGURATION%_%PLATFORM%.bat" failed.
           61  +    GOTO errors
           62  +  )
           63  +)
           64  +
           65  +IF DEFINED NETFX20ONLY (
           66  +  %_AECHO% Forcing the use of the .NET Framework 2.0...
           67  +  SET YEAR=2005
           68  +  SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v2.0.50727
           69  +  GOTO skip_netFxCheck
           70  +)
           71  +
           72  +IF DEFINED NETFX35ONLY (
           73  +  %_AECHO% Forcing the use of the .NET Framework 3.5...
           74  +  SET YEAR=2008
           75  +  SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v3.5
           76  +  GOTO skip_netFxCheck
           77  +)
           78  +
           79  +IF DEFINED NETFX40ONLY (
           80  +  %_AECHO% Forcing the use of the .NET Framework 4.0...
           81  +  SET YEAR=2010
           82  +  SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v4.0.30319
           83  +  GOTO skip_netFxCheck
           84  +)
           85  +
           86  +IF NOT DEFINED FRAMEWORKDIR (
           87  +  %_AECHO% Checking for the .NET Framework 4.0...
           88  +  SET YEAR=2010
           89  +  SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v4.0.30319
           90  +)
           91  +
           92  +IF NOT EXIST "%FRAMEWORKDIR%" (
           93  +  %_AECHO% Checking for the .NET Framework 3.5...
           94  +  SET YEAR=2008
           95  +  SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v3.5
           96  +)
           97  +
           98  +IF NOT EXIST "%FRAMEWORKDIR%" (
           99  +  %_AECHO% Checking for the .NET Framework 2.0...
          100  +  SET YEAR=2005
          101  +  SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v2.0.50727
          102  +)
          103  +
          104  +:skip_netFxCheck
          105  +
          106  +IF NOT EXIST "%FRAMEWORKDIR%" (
          107  +  ECHO.
          108  +  ECHO The .NET Framework directory "%FRAMEWORKDIR%" was not found.
          109  +  ECHO.
          110  +  ECHO Please install the .NET Framework or set the "FRAMEWORKDIR"
          111  +  ECHO environment variable to the location where it is installed.
          112  +  ECHO.
          113  +  GOTO errors
          114  +)
          115  +
          116  +%_VECHO% Year = '%YEAR%'
          117  +%_VECHO% FrameworkDir = '%FRAMEWORKDIR%'
          118  +
          119  +CALL :fn_ResetErrorLevel
          120  +
          121  +%_ECHO% PUSHD "%ROOT%"
          122  +
          123  +IF ERRORLEVEL 1 (
          124  +  ECHO Could not change directory to "%ROOT%".
          125  +  GOTO errors
          126  +)
          127  +
          128  +SET PATH=%FRAMEWORKDIR%;%PATH%
          129  +
          130  +%_VECHO% Path = '%PATH%'
          131  +
          132  +IF NOT DEFINED SOLUTION (
          133  +  %_AECHO% Building all projects...
          134  +  SET SOLUTION=.\SQLite.NET.%YEAR%.sln
          135  +)
          136  +
          137  +%_VECHO% Solution = '%SOLUTION%'
          138  +
          139  +IF NOT DEFINED TARGET (
          140  +  SET TARGET=Rebuild
          141  +)
          142  +
          143  +%_VECHO% Target = '%TARGET%'
          144  +
          145  +IF NOT DEFINED TEMP (
          146  +  ECHO Temporary directory must be defined.
          147  +  GOTO errors
          148  +)
          149  +
          150  +%_VECHO% Temp = '%TEMP%'
          151  +
          152  +IF NOT DEFINED LOGDIR (
          153  +  SET LOGDIR=%TEMP%
          154  +)
          155  +
          156  +%_VECHO% LogDir = '%LOGDIR%'
          157  +
          158  +IF NOT DEFINED LOGPREFIX (
          159  +  SET LOGPREFIX=System.Data.SQLite.Build
          160  +)
          161  +
          162  +%_VECHO% LogPrefix = '%LOGPREFIX%'
          163  +
          164  +IF NOT DEFINED LOGSUFFIX (
          165  +  SET LOGSUFFIX=Unknown
          166  +)
          167  +
          168  +%_VECHO% LogSuffix = '%LOGSUFFIX%'
          169  +
          170  +IF DEFINED LOGGING GOTO skip_setLogging
          171  +IF DEFINED NOLOG GOTO skip_setLogging
          172  +
          173  +SET LOGGING="/logger:FileLogger,Microsoft.Build.Engine;Logfile=%LOGDIR%\%LOGPREFIX%_%CONFIGURATION%_%PLATFORM%_%LOGSUFFIX%.log;Verbosity=diagnostic"
          174  +
          175  +:skip_setLogging
          176  +
          177  +%_VECHO% Logging = '%LOGGING%'
          178  +
          179  +%_ECHO% MSBuild.exe "%SOLUTION%" "/target:%TARGET%" "/property:Configuration=%CONFIGURATION%" "/property:Platform=%PLATFORM%" %LOGGING%
          180  +
          181  +IF ERRORLEVEL 1 (
          182  +  ECHO Build failed.
          183  +  GOTO errors
          184  +)
          185  +
          186  +%_ECHO% POPD
          187  +
          188  +IF ERRORLEVEL 1 (
          189  +  ECHO Could not restore directory.
          190  +  GOTO errors
          191  +)
          192  +
          193  +GOTO no_errors
          194  +
          195  +:fn_UnsetVariable
          196  +  IF NOT "%1" == "" (
          197  +    SET %1=
          198  +    CALL :fn_ResetErrorLevel
          199  +  )
          200  +  GOTO :EOF
          201  +
          202  +:fn_ResetErrorLevel
          203  +  VERIFY > NUL
          204  +  GOTO :EOF
          205  +
          206  +:fn_SetErrorLevel
          207  +  VERIFY MAYBE 2> NUL
          208  +  GOTO :EOF
          209  +
          210  +:usage
          211  +  ECHO.
          212  +  ECHO Usage: %~nx0 [configuration] [platform] [...]
          213  +  ECHO.
          214  +  GOTO errors
          215  +
          216  +:errors
          217  +  CALL :fn_SetErrorLevel
          218  +  ENDLOCAL
          219  +  ECHO.
          220  +  ECHO Build failure, errors were encountered.
          221  +  GOTO end_of_file
          222  +
          223  +:no_errors
          224  +  CALL :fn_ResetErrorLevel
          225  +  ENDLOCAL
          226  +  ECHO.
          227  +  ECHO Build success, no errors were encountered.
          228  +  GOTO end_of_file
          229  +
          230  +:end_of_file
          231  +%_ECHO% EXIT /B %ERRORLEVEL%

Added Setup/set_ReleaseNativeOnly.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: set_ReleaseNativeOnly.bat --
            5  +::
            6  +:: Written by Joe Mistachkin.
            7  +:: Released to the public domain, use at your own risk!
            8  +::
            9  +
           10  +REM
           11  +REM NOTE: Force usage of the Visual Studio 2008 (.NET Framework 3.5) build
           12  +REM       system.  This is very important because we want to ship binaries
           13  +REM       that only rely upon the .NET Framework 2.0 which is very widely
           14  +REM       deployed and because those binaries will also work with projects
           15  +REM       using the .NET Framework 4.0.
           16  +REM
           17  +SET NETFX35ONLY=1
           18  +SET YEAR=2008
           19  +SET YEARS=%YEAR%
           20  +
           21  +ECHO WARNING: Forcing the use of the .NET Framework 3.5...

Added Setup/set_ReleaseNativeOnly_Win32.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: set_ReleaseNativeOnly_Win32.bat --
            5  +::
            6  +:: Written by Joe Mistachkin.
            7  +:: Released to the public domain, use at your own risk!
            8  +::
            9  +
           10  +CALL "%~dp0\set_ReleaseNativeOnly.bat"

Added Setup/set_ReleaseNativeOnly_x64.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: set_ReleaseNativeOnly_x64.bat --
            5  +::
            6  +:: Written by Joe Mistachkin.
            7  +:: Released to the public domain, use at your own risk!
            8  +::
            9  +
           10  +CALL "%~dp0\set_ReleaseNativeOnly.bat"

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

    32     32   //      Minor Version 
    33     33   //      Build Number
    34     34   //      Revision
    35     35   //
    36     36   // You can specify all the values or you can default the Build and Revision Numbers 
    37     37   // by using the '*' as shown below:
    38     38   // [assembly: AssemblyVersion("1.0.*")]
    39         -[assembly: AssemblyVersion("1.0.38.1")]
    40         -[assembly: AssemblyFileVersion("1.0.38.1")]
           39  +[assembly: AssemblyVersion("1.0.67.0")]
           40  +[assembly: AssemblyFileVersion("1.0.67.0")]

Changes to System.Data.SQLite/System.Data.SQLite.Compact.2008.csproj.

    54     54       <NoConfig>true</NoConfig>
    55     55       <ErrorReport>prompt</ErrorReport>
    56     56       <GenerateSerializationAssemblies>off</GenerateSerializationAssemblies>
    57     57     </PropertyGroup>
    58     58     <Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.References.targets" />
    59     59     <Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.Properties.targets" />
    60     60     <Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.Files.targets" />
    61         -  <Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
    62     61     <Import Condition="'$(TargetFrameworkVersion)' == 'v1.0'" Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.v1.targets" />
    63     62     <Import Condition="'$(TargetFrameworkVersion)' == 'v2.0'" Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
    64     63     <Import Condition="'$(TargetFrameworkVersion)' == 'v3.5'" Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
    65     64     <ProjectExtensions>
    66     65       <VisualStudio>
    67     66         <FlavorProperties GUID="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}">
    68     67           <HostingProcess disable="1" />
    69     68         </FlavorProperties>
    70     69       </VisualStudio>
    71     70     </ProjectExtensions>
    72     71   </Project>