System.Data.SQLite
Check-in [046dc70fd1]
Not logged in

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

Overview
Comment:Enhancements to command line build and test automation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build-enhancements
Files: files | file ages | folders
SHA1: 046dc70fd1edb3eec8b061a39908229874735af9
User & Date: mistachkin 2011-06-29 11:31:14
Context
2011-06-29
13:46
Add support for build_all tool. Disable GAC task in setup when the native DLL is necessary. check-in: 78aa3287dc user: mistachkin tags: build-enhancements
11:31
Enhancements to command line build and test automation. check-in: 046dc70fd1 user: mistachkin tags: build-enhancements
2011-06-02
15:59
Update downloads and news pages for v1.0.73.0 (3.7.6.3). check-in: 1bce85bcfc user: shaneh tags: trunk, release
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Membership/SQLiteProvider.2008.csproj.

    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>SQLiteProvider</RootNamespace>
    20     20       <AssemblyName>SQLiteProvider</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    23     23       <NetFx20>true</NetFx20>
           24  +    <ConfigurationYear>2008</ConfigurationYear>
    24     25     </PropertyGroup>
    25     26     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    26     27     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    27     28       <OutputPath>$(BinaryOutputPath)</OutputPath>
    28     29       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    29     30     </PropertyGroup>
    30     31     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to Membership/SQLiteProvider.2010.csproj.

    16     16       <ProjectGuid>{1B7C6ACE-35AA-481C-9CF6-56B702E3E043}</ProjectGuid>
    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>SQLiteProvider</RootNamespace>
    20     20       <AssemblyName>SQLiteProvider</AssemblyName>
    21     21       <OldToolsVersion>3.5</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
           23  +    <ConfigurationYear>2010</ConfigurationYear>
    23     24     </PropertyGroup>
    24     25     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    25     26     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    26     27       <OutputPath>$(BinaryOutputPath)</OutputPath>
    27     28       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    28     29     </PropertyGroup>
    29     30     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to SQLite.Designer/SQLite.Designer.2008.csproj.

    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>SQLite.Designer</RootNamespace>
    20     20       <AssemblyName>SQLite.Designer</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    23     23       <NetFx20>true</NetFx20>
           24  +    <ConfigurationYear>2008</ConfigurationYear>
    24     25     </PropertyGroup>
    25     26     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    26     27     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    27     28       <OutputPath>$(BinaryOutputPath)</OutputPath>
    28     29       <DocumentationFile>$(BinaryOutputPath)SQLite.Designer.xml</DocumentationFile>
    29     30     </PropertyGroup>
    30     31     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to SQLite.Designer/SQLite.Designer.2010.csproj.

    16     16       <ProjectGuid>{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}</ProjectGuid>
    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>SQLite.Designer</RootNamespace>
    20     20       <AssemblyName>SQLite.Designer</AssemblyName>
    21     21       <OldToolsVersion>3.5</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
           23  +    <ConfigurationYear>2010</ConfigurationYear>
    23     24     </PropertyGroup>
    24     25     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    25     26     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    26     27       <OutputPath>$(BinaryOutputPath)</OutputPath>
    27     28       <DocumentationFile>$(BinaryOutputPath)SQLite.Designer.xml</DocumentationFile>
    28     29     </PropertyGroup>
    29     30     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to SQLite.Interop/SQLite.Interop.2008.vcproj.

    25     25   		/>
    26     26   	</Platforms>
    27     27   	<ToolFiles>
    28     28   	</ToolFiles>
    29     29   	<Configurations>
    30     30   		<Configuration
    31     31   			Name="Debug|Win32"
    32         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
    33         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
           32  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
           33  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
    34     34   			ConfigurationType="2"
    35     35   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
    36     36   			CharacterSet="1"
    37     37   			>
    38     38   			<Tool
    39     39   				Name="VCPreBuildEventTool"
    40     40   			/>
................................................................................
    73     73   			/>
    74     74   			<Tool
    75     75   				Name="VCPreLinkEventTool"
    76     76   			/>
    77     77   			<Tool
    78     78   				Name="VCLinkerTool"
    79     79   				AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)"
    80         -				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
           80  +				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationYear)\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
    81     81   				OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll"
    82     82   				Version="$(INTEROP_MANIFEST_VERSION)"
    83     83   				LinkIncremental="1"
    84     84   				GenerateDebugInformation="true"
    85     85   				AssemblyDebug="1"
    86     86   				ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb"
    87     87   				GenerateMapFile="true"
................................................................................
   121    121   			<Tool
   122    122   				Name="VCPostBuildEventTool"
   123    123   				CommandLine="&quot;$(FrameworkSDKDir)Bin\sn.exe&quot; -Ra &quot;$(OutDir)\$(INTEROP_MIXED_NAME).dll&quot; &quot;$(INTEROP_KEY_FILE)&quot;"
   124    124   			/>
   125    125   		</Configuration>
   126    126   		<Configuration
   127    127   			Name="Debug|x64"
   128         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   129         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          128  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          129  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   130    130   			ConfigurationType="2"
   131    131   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   132    132   			CharacterSet="1"
   133    133   			>
   134    134   			<Tool
   135    135   				Name="VCPreBuildEventTool"
   136    136   			/>
................................................................................
   170    170   			/>
   171    171   			<Tool
   172    172   				Name="VCPreLinkEventTool"
   173    173   			/>
   174    174   			<Tool
   175    175   				Name="VCLinkerTool"
   176    176   				AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)"
   177         -				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
          177  +				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationYear)\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
   178    178   				OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll"
   179    179   				Version="$(INTEROP_MANIFEST_VERSION)"
   180    180   				LinkIncremental="1"
   181    181   				GenerateDebugInformation="true"
   182    182   				AssemblyDebug="1"
   183    183   				ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb"
   184    184   				GenerateMapFile="true"
................................................................................
   218    218   			<Tool
   219    219   				Name="VCPostBuildEventTool"
   220    220   				CommandLine="&quot;$(FrameworkSDKDir)Bin\sn.exe&quot; -Ra &quot;$(OutDir)\$(INTEROP_MIXED_NAME).dll&quot; &quot;$(INTEROP_KEY_FILE)&quot;"
   221    221   			/>
   222    222   		</Configuration>
   223    223   		<Configuration
   224    224   			Name="DebugNativeOnly|Win32"
   225         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   226         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          225  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          226  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   227    227   			ConfigurationType="2"
   228    228   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   229    229   			CharacterSet="1"
   230    230   			>
   231    231   			<Tool
   232    232   				Name="VCPreBuildEventTool"
   233    233   			/>
................................................................................
   303    303   				Name="VCFxCopTool"
   304    304   			/>
   305    305   			<Tool
   306    306   				Name="VCAppVerifierTool"
   307    307   			/>
   308    308   			<Tool
   309    309   				Name="VCPostBuildEventTool"
   310         -				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;x86&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\Debug\bin\&quot; /D /E /V /I /F /H /Y"
          310  +				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;x86&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\..\Debug\bin\&quot; /D /E /V /I /F /H /Y"
   311    311   			/>
   312    312   		</Configuration>
   313    313   		<Configuration
   314    314   			Name="DebugNativeOnly|x64"
   315         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   316         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          315  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          316  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   317    317   			ConfigurationType="2"
   318    318   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   319    319   			CharacterSet="1"
   320    320   			>
   321    321   			<Tool
   322    322   				Name="VCPreBuildEventTool"
   323    323   			/>
................................................................................
   394    394   				Name="VCFxCopTool"
   395    395   			/>
   396    396   			<Tool
   397    397   				Name="VCAppVerifierTool"
   398    398   			/>
   399    399   			<Tool
   400    400   				Name="VCPostBuildEventTool"
   401         -				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;AMD64&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\Debug\bin\&quot; /D /E /V /I /F /H /Y"
          401  +				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;AMD64&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\..\Debug\bin\&quot; /D /E /V /I /F /H /Y"
   402    402   			/>
   403    403   		</Configuration>
   404    404   		<Configuration
   405    405   			Name="Release|Win32"
   406         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   407         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          406  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          407  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   408    408   			ConfigurationType="2"
   409    409   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   410    410   			CharacterSet="1"
   411    411   			WholeProgramOptimization="1"
   412    412   			>
   413    413   			<Tool
   414    414   				Name="VCPreBuildEventTool"
................................................................................
   449    449   			/>
   450    450   			<Tool
   451    451   				Name="VCPreLinkEventTool"
   452    452   			/>
   453    453   			<Tool
   454    454   				Name="VCLinkerTool"
   455    455   				AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)"
   456         -				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
          456  +				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationYear)\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
   457    457   				OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll"
   458    458   				Version="$(INTEROP_MANIFEST_VERSION)"
   459    459   				LinkIncremental="1"
   460    460   				GenerateDebugInformation="true"
   461    461   				ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb"
   462    462   				GenerateMapFile="true"
   463    463   				MapExports="true"
................................................................................
   497    497   			<Tool
   498    498   				Name="VCPostBuildEventTool"
   499    499   				CommandLine="&quot;$(FrameworkSDKDir)Bin\sn.exe&quot; -Ra &quot;$(OutDir)\$(INTEROP_MIXED_NAME).dll&quot; &quot;$(INTEROP_KEY_FILE)&quot;"
   500    500   			/>
   501    501   		</Configuration>
   502    502   		<Configuration
   503    503   			Name="Release|x64"
   504         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   505         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          504  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          505  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   506    506   			ConfigurationType="2"
   507    507   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   508    508   			CharacterSet="1"
   509    509   			WholeProgramOptimization="1"
   510    510   			>
   511    511   			<Tool
   512    512   				Name="VCPreBuildEventTool"
................................................................................
   548    548   			/>
   549    549   			<Tool
   550    550   				Name="VCPreLinkEventTool"
   551    551   			/>
   552    552   			<Tool
   553    553   				Name="VCLinkerTool"
   554    554   				AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)"
   555         -				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
          555  +				AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationYear)\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule"
   556    556   				OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll"
   557    557   				Version="$(INTEROP_MANIFEST_VERSION)"
   558    558   				LinkIncremental="1"
   559    559   				GenerateDebugInformation="true"
   560    560   				ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb"
   561    561   				GenerateMapFile="true"
   562    562   				MapExports="true"
................................................................................
   596    596   			<Tool
   597    597   				Name="VCPostBuildEventTool"
   598    598   				CommandLine="&quot;$(FrameworkSDKDir)Bin\sn.exe&quot; -Ra &quot;$(OutDir)\$(INTEROP_MIXED_NAME).dll&quot; &quot;$(INTEROP_KEY_FILE)&quot;"
   599    599   			/>
   600    600   		</Configuration>
   601    601   		<Configuration
   602    602   			Name="ReleaseNativeOnly|Win32"
   603         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   604         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          603  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          604  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   605    605   			ConfigurationType="2"
   606    606   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   607    607   			CharacterSet="1"
   608    608   			WholeProgramOptimization="1"
   609    609   			>
   610    610   			<Tool
   611    611   				Name="VCPreBuildEventTool"
................................................................................
   683    683   				Name="VCFxCopTool"
   684    684   			/>
   685    685   			<Tool
   686    686   				Name="VCAppVerifierTool"
   687    687   			/>
   688    688   			<Tool
   689    689   				Name="VCPostBuildEventTool"
   690         -				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;x86&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\Release\bin\&quot; /D /E /V /I /F /H /Y"
          690  +				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;x86&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\..\Release\bin\&quot; /D /E /V /I /F /H /Y"
   691    691   			/>
   692    692   		</Configuration>
   693    693   		<Configuration
   694    694   			Name="ReleaseNativeOnly|x64"
   695         -			OutputDirectory="$(ProjectDir)..\bin\$(PlatformName)\$(ConfigurationName)"
   696         -			IntermediateDirectory="..\obj\$(PlatformName)\$(ConfigurationName)"
          695  +			OutputDirectory="$(ProjectDir)..\bin\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
          696  +			IntermediateDirectory="..\obj\$(ConfigurationYear)\$(PlatformName)\$(ConfigurationName)"
   697    697   			ConfigurationType="2"
   698    698   			InheritedPropertySheets=".\props\sqlite3.vsprops;.\props\SQLite.Interop.vsprops"
   699    699   			CharacterSet="1"
   700    700   			WholeProgramOptimization="1"
   701    701   			>
   702    702   			<Tool
   703    703   				Name="VCPreBuildEventTool"
................................................................................
   776    776   				Name="VCFxCopTool"
   777    777   			/>
   778    778   			<Tool
   779    779   				Name="VCAppVerifierTool"
   780    780   			/>
   781    781   			<Tool
   782    782   				Name="VCPostBuildEventTool"
   783         -				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;AMD64&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\Release\bin\&quot; /D /E /V /I /F /H /Y"
          783  +				CommandLine="IF /I &quot;%PROCESSOR_ARCHITECTURE%&quot; == &quot;AMD64&quot; XCOPY &quot;$(TargetPath)&quot; &quot;$(OutDir)..\..\..\Release\bin\&quot; /D /E /V /I /F /H /Y"
   784    784   			/>
   785    785   		</Configuration>
   786    786   	</Configurations>
   787    787   	<References>
   788    788   	</References>
   789    789   	<Files>
   790    790   		<Filter

Changes to SQLite.Interop/SQLite.Interop.2010.vcxproj.

   105    105       <CharacterSet>Unicode</CharacterSet>
   106    106       <WholeProgramOptimization>true</WholeProgramOptimization>
   107    107     </PropertyGroup>
   108    108     <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   109    109     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   110    110     <PropertyGroup>
   111    111       <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   112         -    <OutDir>$(ProjectDir)..\bin\$(Platform)\$(Configuration)\</OutDir>
   113         -    <IntDir>..\obj\$(Platform)\$(Configuration)\</IntDir>
          112  +    <OutDir>$(ProjectDir)..\bin\$(ConfigurationYear)\$(Platform)\$(Configuration)\</OutDir>
          113  +    <IntDir>..\obj\$(ConfigurationYear)\$(Platform)\$(Configuration)\</IntDir>
   114    114       <LinkIncremental>false</LinkIncremental>
   115    115       <LinkKeyFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(INTEROP_KEY_FILE)</LinkKeyFile>
   116    116       <LinkKeyFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(INTEROP_KEY_FILE)</LinkKeyFile>
   117    117       <LinkKeyFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(INTEROP_KEY_FILE)</LinkKeyFile>
   118    118       <LinkKeyFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(INTEROP_KEY_FILE)</LinkKeyFile>
   119    119       <LinkDelaySign Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkDelaySign>
   120    120       <LinkDelaySign Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkDelaySign>
................................................................................
   134    134         <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings>
   135    135       </ClCompile>
   136    136       <ResourceCompile>
   137    137         <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   138    138       </ResourceCompile>
   139    139       <Link>
   140    140         <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions>
   141         -      <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
          141  +      <AdditionalDependencies>$(ProjectDir)..\bin\$(ConfigurationYear)\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
   142    142         <Version>$(INTEROP_MANIFEST_VERSION)</Version>
   143    143         <GenerateDebugInformation>true</GenerateDebugInformation>
   144    144         <AssemblyDebug>true</AssemblyDebug>
   145    145         <GenerateMapFile>true</GenerateMapFile>
   146    146         <MapExports>true</MapExports>
   147    147         <SubSystem>Windows</SubSystem>
   148    148         <OptimizeReferences>true</OptimizeReferences>
................................................................................
   175    175         <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);$(SQLITE_DISABLE_X64_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings>
   176    176       </ClCompile>
   177    177       <ResourceCompile>
   178    178         <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   179    179       </ResourceCompile>
   180    180       <Link>
   181    181         <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions>
   182         -      <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
          182  +      <AdditionalDependencies>$(ProjectDir)..\bin\$(ConfigurationYear)\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
   183    183         <Version>$(INTEROP_MANIFEST_VERSION)</Version>
   184    184         <GenerateDebugInformation>true</GenerateDebugInformation>
   185    185         <AssemblyDebug>true</AssemblyDebug>
   186    186         <GenerateMapFile>true</GenerateMapFile>
   187    187         <MapExports>true</MapExports>
   188    188         <SubSystem>Windows</SubSystem>
   189    189         <OptimizeReferences>true</OptimizeReferences>
................................................................................
   230    230       </Link>
   231    231       <Manifest>
   232    232         <VerboseOutput>true</VerboseOutput>
   233    233         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   234    234         <UpdateFileHashes>true</UpdateFileHashes>
   235    235       </Manifest>
   236    236       <PostBuildEvent>
   237         -      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
          237  +      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   238    238       </PostBuildEvent>
   239    239     </ItemDefinitionGroup>
   240    240     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   241    241       <ClCompile>
   242    242         <Optimization>Disabled</Optimization>
   243    243         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   244    244         <MinimalRebuild>false</MinimalRebuild>
................................................................................
   264    264       </Link>
   265    265       <Manifest>
   266    266         <VerboseOutput>true</VerboseOutput>
   267    267         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   268    268         <UpdateFileHashes>true</UpdateFileHashes>
   269    269       </Manifest>
   270    270       <PostBuildEvent>
   271         -      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
          271  +      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   272    272       </PostBuildEvent>
   273    273     </ItemDefinitionGroup>
   274    274     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   275    275       <ClCompile>
   276    276         <Optimization>Full</Optimization>
   277    277         <IntrinsicFunctions>true</IntrinsicFunctions>
   278    278         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
................................................................................
   287    287         <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings>
   288    288       </ClCompile>
   289    289       <ResourceCompile>
   290    290         <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   291    291       </ResourceCompile>
   292    292       <Link>
   293    293         <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions>
   294         -      <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
          294  +      <AdditionalDependencies>$(ProjectDir)..\bin\$(ConfigurationYear)\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
   295    295         <Version>$(INTEROP_MANIFEST_VERSION)</Version>
   296    296         <GenerateDebugInformation>true</GenerateDebugInformation>
   297    297         <GenerateMapFile>true</GenerateMapFile>
   298    298         <MapExports>true</MapExports>
   299    299         <SubSystem>Windows</SubSystem>
   300    300         <OptimizeReferences>true</OptimizeReferences>
   301    301         <EnableCOMDATFolding>true</EnableCOMDATFolding>
................................................................................
   330    330         <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);$(SQLITE_DISABLE_X64_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings>
   331    331       </ClCompile>
   332    332       <ResourceCompile>
   333    333         <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   334    334       </ResourceCompile>
   335    335       <Link>
   336    336         <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions>
   337         -      <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
          337  +      <AdditionalDependencies>$(ProjectDir)..\bin\$(ConfigurationYear)\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies>
   338    338         <Version>$(INTEROP_MANIFEST_VERSION)</Version>
   339    339         <GenerateDebugInformation>true</GenerateDebugInformation>
   340    340         <GenerateMapFile>true</GenerateMapFile>
   341    341         <MapExports>true</MapExports>
   342    342         <SubSystem>Windows</SubSystem>
   343    343         <OptimizeReferences>true</OptimizeReferences>
   344    344         <EnableCOMDATFolding>true</EnableCOMDATFolding>
................................................................................
   387    387       </Link>
   388    388       <Manifest>
   389    389         <VerboseOutput>true</VerboseOutput>
   390    390         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   391    391         <UpdateFileHashes>true</UpdateFileHashes>
   392    392       </Manifest>
   393    393       <PostBuildEvent>
   394         -      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
          394  +      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   395    395       </PostBuildEvent>
   396    396     </ItemDefinitionGroup>
   397    397     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   398    398       <ClCompile>
   399    399         <Optimization>Full</Optimization>
   400    400         <IntrinsicFunctions>true</IntrinsicFunctions>
   401    401         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
................................................................................
   424    424       </Link>
   425    425       <Manifest>
   426    426         <VerboseOutput>true</VerboseOutput>
   427    427         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   428    428         <UpdateFileHashes>true</UpdateFileHashes>
   429    429       </Manifest>
   430    430       <PostBuildEvent>
   431         -      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
          431  +      <Command>XCOPY "$(TargetPath)" "$(OutDir)..\..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   432    432       </PostBuildEvent>
   433    433     </ItemDefinitionGroup>
   434    434     <ItemGroup>
   435    435       <ClCompile Include="src\win\AssemblyInfo.cpp">
   436    436         <ExcludedFromBuild>true</ExcludedFromBuild>
   437    437       </ClCompile>
   438    438       <ClCompile Include="src\win\crypt.c">

Changes to SQLite.Interop/props/SQLite.Interop.props.

     5      5    *
     6      6    * Written by Joe Mistachkin.
     7      7    * Released to the public domain, use at your own risk!
     8      8    *
     9      9   -->
    10     10   <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
    11     11     <PropertyGroup Label="UserMacros">
           12  +    <ConfigurationYear>2010</ConfigurationYear>
    12     13       <INTEROP_MANIFEST_VERSION>1.0.73.0</INTEROP_MANIFEST_VERSION>
    13     14       <INTEROP_RC_VERSION>1,0,73,0</INTEROP_RC_VERSION>
    14     15       <INTEROP_ASSEMBLY_RESOURCES>/ASSEMBLYRESOURCE:..\System.Data.SQLite\SQLiteCommand.bmp,System.Data.SQLite.SQLiteCommand.bmp /ASSEMBLYRESOURCE:..\System.Data.SQLite\SQLiteConnection.bmp,System.Data.SQLite.SQLiteConnection.bmp /ASSEMBLYRESOURCE:..\System.Data.SQLite\SQLiteDataAdapter.bmp,System.Data.SQLite.SQLiteDataAdapter.bmp</INTEROP_ASSEMBLY_RESOURCES>
    15     16       <INTEROP_KEY_FILE>$(ProjectDir)..\System.Data.SQLite\System.Data.SQLite.snk</INTEROP_KEY_FILE>
    16     17       <INTEROP_NATIVE_NAME>SQLite.Interop</INTEROP_NATIVE_NAME>
    17     18       <INTEROP_MIXED_NAME>System.Data.SQLite</INTEROP_MIXED_NAME>
    18     19     </PropertyGroup>
    19     20     <PropertyGroup>
    20     21       <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    21     22     </PropertyGroup>
    22     23     <ItemGroup>
           24  +    <BuildMacro Include="ConfigurationYear">
           25  +      <Value>$(ConfigurationYear)</Value>
           26  +      <EnvironmentVariable>true</EnvironmentVariable>
           27  +    </BuildMacro>
    23     28       <BuildMacro Include="INTEROP_MANIFEST_VERSION">
    24     29         <Value>$(INTEROP_MANIFEST_VERSION)</Value>
    25     30         <EnvironmentVariable>true</EnvironmentVariable>
    26     31       </BuildMacro>
    27     32       <BuildMacro Include="INTEROP_RC_VERSION">
    28     33         <Value>$(INTEROP_RC_VERSION)</Value>
    29     34         <EnvironmentVariable>true</EnvironmentVariable>

Changes to SQLite.Interop/props/SQLite.Interop.vsprops.

     8      8    *
     9      9   -->
    10     10   <VisualStudioPropertySheet
    11     11   	ProjectType="Visual C++"
    12     12   	Version="8.00"
    13     13   	Name="SQLite.Interop"
    14     14   	>
           15  +	<UserMacro
           16  +		Name="ConfigurationYear"
           17  +		Value="2008"
           18  +		PerformEnvironmentSet="true"
           19  +	/>
    15     20   	<UserMacro
    16     21   		Name="INTEROP_MANIFEST_VERSION"
    17     22   		Value="1.0.73.0"
    18     23   		PerformEnvironmentSet="true"
    19     24   	/>
    20     25   	<UserMacro
    21     26   		Name="INTEROP_RC_VERSION"

Changes to SQLite.NET.Settings.targets.

   142    142       <!--
   143    143           NOTE: Keep all the intermediate files in one place.  The Visual Studio
   144    144                 IDE seems to have a nasty habit of ignoring this setting.  The
   145    145                 Visual Studio IDE then fails to build the project(s) properly when
   146    146                 the output does not end up where it expects the output to be.  The
   147    147                 value of this property must have a trailing backslash.
   148    148       -->
   149         -    <BaseIntermediateOutputPath Condition="'$(ConfigurationSuffix)' == ''">$(SQLiteNetDir)\obj\</BaseIntermediateOutputPath>
   150         -    <BaseIntermediateOutputPath Condition="'$(ConfigurationSuffix)' != ''">$(SQLiteNetDir)\obj\$(ConfigurationSuffix)\</BaseIntermediateOutputPath>
          149  +    <BaseIntermediateOutputPath Condition="'$(ConfigurationSuffix)' == ''">$(SQLiteNetDir)\obj\$(ConfigurationYear)\</BaseIntermediateOutputPath>
          150  +    <BaseIntermediateOutputPath Condition="'$(ConfigurationSuffix)' != ''">$(SQLiteNetDir)\obj\$(ConfigurationYear)\$(ConfigurationSuffix)\</BaseIntermediateOutputPath>
   151    151     </PropertyGroup>
   152    152   
   153    153     <!--
   154    154     ******************************************************************************
   155    155     **                Per-Configuration Relative Path Properties                **
   156    156     ******************************************************************************
   157    157     -->
   158    158   
   159    159     <PropertyGroup Condition="'$(SQLiteNetDir)' != '' And '$(Configuration)' != ''">
   160    160       <!--
   161    161           NOTE: The final output files need to end up in one place.  The value of
   162    162                 this property must have a trailing backslash.
   163    163       -->
   164         -    <BinaryOutputPath Condition="'$(BinaryOutputPath)' == ''">$(SQLiteNetDir)\bin\$(Configuration)$(ConfigurationSuffix)\bin\</BinaryOutputPath>
          164  +    <BinaryOutputPath Condition="'$(BinaryOutputPath)' == ''">$(SQLiteNetDir)\bin\$(ConfigurationYear)\$(Configuration)$(ConfigurationSuffix)\bin\</BinaryOutputPath>
   165    165     </PropertyGroup>
   166    166   
   167    167     <!--
   168    168     ******************************************************************************
   169    169     **                      Strong Name Signing Properties                      **
   170    170     ******************************************************************************
   171    171     -->

Changes to Setup/SQLite.iss.

     1      1   ;
     2      2   ; SQLite.iss --
     3      3   ;
     4      4   ; Written by Joe Mistachkin.
     5      5   ; Released to the public domain, use at your own risk!
     6      6   ;
     7         -;
     8         -; modpath (c)2010 by Jared Breland, and licensed under the Creative Commons Attribution-ShareAlike 3.0
     9         -;
    10      7   
    11         -; Extract version information from binary and format for OutputBaseFilename
    12         -#define MainBinaryName  "..\bin\Release\bin\System.Data.SQLite.dll"
    13         -#define AppVersion      GetFileVersion(AddBackslash(SourcePath) + MainBinaryName)
    14         -#define AVF1a           "00" + Copy(AppVersion, 1)
    15         -#define AVF1b           Copy(AVF1a, Pos(".", AVF1a) - 1, 1)
    16         -#define AVF2a           "00" + Copy(AVF1a, Pos(".", AVF1a) + 1)
    17         -#define AVF2b           Copy(AVF2a, Pos(".", AVF2a) - 2, 2)
    18         -#define AVF3a           "00" + Copy(AVF2a, Pos(".", AVF2a) + 1)
    19         -#define AVF3b           Copy(AVF3a, Pos(".", AVF3a) - 2, 2)
    20         -#define AVF4a           "00" + Copy(AVF3a, Pos(".", AVF3a) + 1)
    21         -#define AVF4b           Copy(AVF4a, Pos(".", AVF4a) - 2, 2)
    22         -#define AppVersionFile  AVF1b + AVF2b + AVF3b + AVF4b
            8  +#define BaseConfiguration StringChange(AppConfiguration, "NativeOnly", "")
            9  +#define AppVersion GetStringFileInfo("..\bin\" + Year + "\" + BaseConfiguration + "\bin\System.Data.SQLite.dll", PRODUCT_VERSION)
    23     10   
    24     11   [Setup]
    25     12   AllowNoIcons=true
    26     13   
    27     14   #if AppProcessor != "x86"
    28     15   ArchitecturesAllowed={#AppProcessor}
    29     16   ArchitecturesInstallIn64BitMode={#AppProcessor}
................................................................................
    39     26   AppUpdatesURL={#AppURL}
    40     27   AppVerName=System.Data.SQLite v{#AppVersion}
    41     28   AppVersion={#AppVersion}
    42     29   AppComments=The ADO.NET adapter for the SQLite database engine.
    43     30   AppReadmeFile={app}\readme.htm
    44     31   DefaultDirName={pf}\System.Data.SQLite
    45     32   DefaultGroupName=System.Data.SQLite
    46         -OutputBaseFilename=sqlite-dotnet-{#AppProcessor}-{#AppVersionFile}
           33  +OutputBaseFilename=sqlite-dotnet-{#AppConfiguration}-{#AppProcessor}-{#Year}-{#AppVersion}
    47     34   SetupLogging=true
    48     35   UninstallFilesDir={app}\uninstall
    49     36   VersionInfoVersion={#AppVersion}
    50     37   ExtraDiskSpaceRequired=2097152
    51     38   ChangesEnvironment=true
    52     39   
    53     40   [Code]
    54     41   #include "CheckForNetFx.pas"
    55     42   #include "InitializeSetup.pas"
    56         -const
    57         -	ModPathName = 'gac\modifypath';
    58         -	ModPathType = 'system';
    59         -function ModPathDir(): TArrayOfString;
    60         -begin
    61         -	setArrayLength(Result, 1)
    62         -	Result[0] := ExpandConstant('{app}\bin');
    63         -end;
    64         -#include "modpath.iss"
    65     43   
    66     44   [Components]
    67     45   Name: Application; Description: System.Data.SQLite components.; Types: custom compact full
    68     46   Name: Application\Core; Description: Core components.; Types: custom compact full
    69     47   Name: Application\Core\MSIL; Description: Core managed components.; Types: custom compact full
    70     48   Name: Application\Core\{#AppProcessor}; Description: Core native components.; Types: custom compact full
    71     49   Name: Application\LINQ; Description: LINQ support components.; Types: custom compact full
................................................................................
    72     50   Name: Application\Symbols; Description: Debugging symbol components.; Types: custom compact full
    73     51   Name: Application\Documentation; Description: Documentation components.; Types: custom compact full
    74     52   Name: Application\Test; Description: Test components.; Types: custom compact full
    75     53   
    76     54   [Tasks]
    77     55   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()
    78     56   Components: Application\Core\MSIL Or Application\LINQ; Name: gac; Description: Install the assemblies into the global assembly cache.; Flags: unchecked; Check: CheckIsNetFx2Setup() or CheckIsNetFx4Setup()
    79         -Components: Application\Core\MSIL Or Application\LINQ; Name: gac\modifypath; Description: &Add application directory to your environmental path; Flags: unchecked
    80     57   
    81     58   [Run]
    82     59   Components: Application\Core\MSIL; Tasks: ngen; Filename: {code:GetNetFx2InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup()
    83     60   Components: Application\Core\MSIL; Tasks: ngen; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup()
    84     61   Components: Application\LINQ; Tasks: ngen; Filename: {code:GetNetFx2InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.Linq.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup() and CheckForNetFx35(1)
    85     62   Components: Application\LINQ; Tasks: ngen; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.Linq.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup()
    86     63   
................................................................................
    94     71   Name: {app}\bin
    95     72   Name: {app}\doc
    96     73   Name: {app}\GAC
    97     74   
    98     75   [Files]
    99     76   Components: Application\Core\{#AppProcessor}; Source: ..\Externals\MSVCPP\vcredist_{#AppProcessor}_{#VcRuntime}.exe; DestDir: {tmp}; Flags: dontcopy
   100     77   Components: Application; Source: ..\readme.htm; DestDir: {app}; Flags: restartreplace uninsrestartdelete isreadme
   101         -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
   102         -Components: Application\Core\MSIL; Source: ..\bin\Release\bin\System.Data.SQLite.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   103         -Components: Application\Core\MSIL and Application\Symbols; Source: ..\bin\Release\bin\System.Data.SQLite.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   104         -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
   105         -Components: Application\LINQ; Source: ..\bin\Release\bin\System.Data.SQLite.Linq.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   106         -Components: Application\LINQ and Application\Symbols; Source: ..\bin\Release\bin\System.Data.SQLite.Linq.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   107         -Components: Application\Core\{#AppProcessor}; Source: ..\bin\{#AppPlatform}\ReleaseNativeOnly\SQLite.Interop.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   108         -Components: Application\Core\{#AppProcessor} and Application\Symbols; Source: ..\bin\{#AppPlatform}\ReleaseNativeOnly\SQLite.Interop.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           78  +Components: Application\Core\MSIL; Tasks: gac; Source: ..\bin\{#Year}\{#BaseConfiguration}\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
           79  +Components: Application\Core\MSIL; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\System.Data.SQLite.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           80  +Components: Application\Core\MSIL and Application\Symbols; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\System.Data.SQLite.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           81  +Components: Application\LINQ; Tasks: gac; Source: ..\bin\{#Year}\{#BaseConfiguration}\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
           82  +Components: Application\LINQ; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\System.Data.SQLite.Linq.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           83  +Components: Application\LINQ and Application\Symbols; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\System.Data.SQLite.Linq.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           84  +
           85  +#if Pos("NativeOnly", AppConfiguration) != 0
           86  +Components: Application\Core\{#AppProcessor}; Source: ..\bin\{#Year}\{#AppPlatform}\{#AppConfiguration}\SQLite.Interop.dll; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           87  +Components: Application\Core\{#AppProcessor} and Application\Symbols; Source: ..\bin\{#Year}\{#AppPlatform}\{#AppConfiguration}\SQLite.Interop.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           88  +#endif
           89  +
   109     90   Components: Application\Documentation; Source: ..\doc\SQLite.NET.chm; DestDir: {app}\doc; Flags: restartreplace uninsrestartdelete
   110         -Components: Application\Test; Source: ..\bin\Release\bin\test.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   111         -Components: Application\Test and Application\Symbols; Source: ..\bin\Release\bin\test.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   112         -Components: Application\Test; Source: ..\bin\Release\bin\test.exe.config; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           91  +Components: Application\Test; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\test.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           92  +Components: Application\Test and Application\Symbols; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\test.pdb; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
           93  +Components: Application\Test; Source: ..\bin\{#Year}\{#BaseConfiguration}\bin\test.exe.config; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
   113     94   
   114     95   [Icons]
   115     96   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
   116     97   Name: {group}\Class Library Documentation; Filename: {app}\doc\SQLite.NET.chm; WorkingDir: {app}\doc; Comment: Launch Class Library Documentation; Flags: createonlyiffileexists
   117     98   Name: {group}\README File; Filename: {app}\readme.htm; WorkingDir: {app}; Comment: View README File; Flags: createonlyiffileexists

Changes to Setup/bake.bat.

    23     23   GOTO set_path_done
    24     24   :set_path_32
    25     25   SET PATH=%ProgramFiles%\Inno Setup 5;%PATH%
    26     26   :set_path_done
    27     27   
    28     28   %_VECHO% Path = '%PATH%'
    29     29   
    30         -%_ECHO% ISCC.exe SQLite.iss "/dAppId=%APPID%" "/dAppPublicKey=%PUBLICKEY%" "/dAppURL=%URL%" "/dIsNetFx2=%ISNETFX2%" "/dVcRuntime=%VCRUNTIME%" "/dAppPlatform=%PLATFORM%" "/dAppProcessor=%PROCESSOR%" "/dYear=%YEAR%"
           30  +%_ECHO% ISCC.exe SQLite.iss "/dAppId=%APPID%" "/dAppPublicKey=%PUBLICKEY%" "/dAppURL=%URL%" "/dIsNetFx2=%ISNETFX2%" "/dVcRuntime=%VCRUNTIME%" "/dAppConfiguration=%CONFIGURATION%" "/dAppPlatform=%PLATFORM%" "/dAppProcessor=%PROCESSOR%" "/dYear=%YEAR%"
    31     31   
    32     32   IF %ERRORLEVEL% NEQ 0 (
    33     33     ECHO Failed to compile setup.
    34     34     GOTO errors
    35     35   )
    36     36   
    37     37   GOTO no_errors

Changes to Setup/bake_all.bat.

    26     26   %_ECHO% CALL "%TOOLS%\set_common.bat"
    27     27   
    28     28   IF ERRORLEVEL 1 (
    29     29     ECHO Could not set common variables.
    30     30     GOTO errors
    31     31   )
    32     32   
           33  +IF NOT DEFINED CONFIGURATIONS (
           34  +  SET CONFIGURATIONS=Release
           35  +)
           36  +
           37  +%_VECHO% Configurations = '%CONFIGURATIONS%'
           38  +
    33     39   IF NOT DEFINED PROCESSORS (
    34     40     SET PROCESSORS=x86
    35     41   )
    36     42   
    37     43   %_VECHO% Processors = '%PROCESSORS%'
    38     44   
    39     45   IF NOT DEFINED YEARS (
    40     46     SET YEARS=2010
    41     47   )
    42     48   
    43     49   %_VECHO% Years = '%YEARS%'
    44     50   
    45         -FOR %%P IN (%PROCESSORS%) DO (
    46         -  FOR %%Y IN (%YEARS%) DO (
    47         -    %_ECHO% CALL "%TOOLS%\set_%%P_%%Y.bat"
    48         -
    49         -    IF ERRORLEVEL 1 (
    50         -      ECHO Could not set variables for %%P/%%Y.
    51         -      GOTO errors
    52         -    )
    53         -
    54         -    %_ECHO% CALL "%TOOLS%\bake.bat"
    55         -
    56         -    IF ERRORLEVEL 1 (
    57         -      ECHO Could not bake setup for %%P/%%Y.
    58         -      GOTO errors
           51  +FOR %%C IN (%CONFIGURATIONS%) DO (
           52  +  FOR %%P IN (%PROCESSORS%) DO (
           53  +    FOR %%Y IN (%YEARS%) DO (
           54  +      %_ECHO% CALL "%TOOLS%\set_%%C_%%P_%%Y.bat"
           55  +  
           56  +      IF ERRORLEVEL 1 (
           57  +        ECHO Could not set variables for %%C/%%P/%%Y.
           58  +        GOTO errors
           59  +      )
           60  +  
           61  +      %_ECHO% CALL "%TOOLS%\bake.bat"
           62  +  
           63  +      IF ERRORLEVEL 1 (
           64  +        ECHO Could not bake setup for %%C/%%P/%%Y.
           65  +        GOTO errors
           66  +      )
    59     67       )
    60     68     )
    61     69   )
    62     70   
    63     71   GOTO no_errors
    64     72   
    65     73   :fn_ResetErrorLevel

Changes to Setup/build.bat.

    26     26   SET CONFIGURATION=%1
    27     27   
    28     28   IF DEFINED CONFIGURATION (
    29     29     SET CONFIGURATION=%CONFIGURATION:"=%
    30     30     REM "
    31     31   ) ELSE (
    32     32     %_AECHO% No configuration specified, using default...
    33         -  SET CONFIGURATION=ReleaseNativeOnly
           33  +  SET CONFIGURATION=Release
    34     34   )
    35     35   
    36     36   %_VECHO% Configuration = '%CONFIGURATION%'
    37     37   
    38     38   SET PLATFORM=%2
    39     39   
    40     40   IF DEFINED PLATFORM (

Deleted Setup/modpath.iss.

     1         -// ----------------------------------------------------------------------------
     2         -//
     3         -// Inno Setup Ver:	5.3.10
     4         -// Script Version:	1.4.0
     5         -// Author:			Jared Breland <jbreland@legroom.net>
     6         -// Homepage:		http://www.legroom.net/software
     7         -//
     8         -// Script Function:
     9         -//	Allow modification of environmental path directly from Inno Setup installers
    10         -//
    11         -// Instructions:
    12         -//	Copy modpath.iss to the same directory as your setup script
    13         -//
    14         -//	Add this statement to your [Setup] section
    15         -//		ChangesEnvironment=true
    16         -//
    17         -//	Add this statement to your [Tasks] section
    18         -//	You can change the Description or Flags
    19         -//	You can change the Name, but it must match the ModPathName setting below
    20         -//		Name: modifypath; Description: &Add application directory to your environmental path; Flags: unchecked
    21         -//
    22         -//	Add the following to the end of your [Code] section
    23         -//	ModPathName defines the name of the task defined above
    24         -//	ModPathType defines whether the 'user' or 'system' path will be modified
    25         -//		this will default to user if anything other than user or system is set
    26         -//	setArrayLength must specify the total number of dirs to be added
    27         -//	Result[0] contains first directory, Result[1] contains second, etc.
    28         -//		const
    29         -//			ModPathName = 'modifypath';
    30         -//			ModPathType = 'user';
    31         -//
    32         -//		function ModPathDir(): TArrayOfString;
    33         -//		begin
    34         -//			setArrayLength(Result, 1)
    35         -//			Result[0] := ExpandConstant('{app}');
    36         -//		end;
    37         -//		#include "modpath.iss"
    38         -// ----------------------------------------------------------------------------
    39         -
    40         -procedure ModPath();
    41         -var
    42         -	oldpath:	String;
    43         -	newpath:	String;
    44         -	updatepath:	Boolean;
    45         -	pathArr:	TArrayOfString;
    46         -	aExecFile:	String;
    47         -	aExecArr:	TArrayOfString;
    48         -	i, d:		Integer;
    49         -	pathdir:	TArrayOfString;
    50         -	regroot:	Integer;
    51         -	regpath:	String;
    52         -
    53         -begin
    54         -	// Get constants from main script and adjust behavior accordingly
    55         -	// ModPathType MUST be 'system' or 'user'; force 'user' if invalid
    56         -	if ModPathType = 'system' then begin
    57         -		regroot := HKEY_LOCAL_MACHINE;
    58         -		regpath := 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment';
    59         -	end else begin
    60         -		regroot := HKEY_CURRENT_USER;
    61         -		regpath := 'Environment';
    62         -	end;
    63         -
    64         -	// Get array of new directories and act on each individually
    65         -	pathdir := ModPathDir();
    66         -	for d := 0 to GetArrayLength(pathdir)-1 do begin
    67         -		updatepath := true;
    68         -
    69         -		// Modify WinNT path
    70         -		if UsingWinNT() = true then begin
    71         -
    72         -			// Get current path, split into an array
    73         -			RegQueryStringValue(regroot, regpath, 'Path', oldpath);
    74         -			oldpath := oldpath + ';';
    75         -			i := 0;
    76         -
    77         -			while (Pos(';', oldpath) > 0) do begin
    78         -				SetArrayLength(pathArr, i+1);
    79         -				pathArr[i] := Copy(oldpath, 0, Pos(';', oldpath)-1);
    80         -				oldpath := Copy(oldpath, Pos(';', oldpath)+1, Length(oldpath));
    81         -				i := i + 1;
    82         -
    83         -				// Check if current directory matches app dir
    84         -				if pathdir[d] = pathArr[i-1] then begin
    85         -					// if uninstalling, remove dir from path
    86         -					if IsUninstaller() = true then begin
    87         -						continue;
    88         -					// if installing, flag that dir already exists in path
    89         -					end else begin
    90         -						updatepath := false;
    91         -					end;
    92         -				end;
    93         -
    94         -				// Add current directory to new path
    95         -				if i = 1 then begin
    96         -					newpath := pathArr[i-1];
    97         -				end else begin
    98         -					newpath := newpath + ';' + pathArr[i-1];
    99         -				end;
   100         -			end;
   101         -
   102         -			// Append app dir to path if not already included
   103         -			if (IsUninstaller() = false) AND (updatepath = true) then
   104         -				newpath := newpath + ';' + pathdir[d];
   105         -
   106         -			// Write new path
   107         -			RegWriteStringValue(regroot, regpath, 'Path', newpath);
   108         -
   109         -		// Modify Win9x path
   110         -		end else begin
   111         -
   112         -			// Convert to shortened dirname
   113         -			pathdir[d] := GetShortName(pathdir[d]);
   114         -
   115         -			// If autoexec.bat exists, check if app dir already exists in path
   116         -			aExecFile := 'C:\AUTOEXEC.BAT';
   117         -			if FileExists(aExecFile) then begin
   118         -				LoadStringsFromFile(aExecFile, aExecArr);
   119         -				for i := 0 to GetArrayLength(aExecArr)-1 do begin
   120         -					if IsUninstaller() = false then begin
   121         -						// If app dir already exists while installing, skip add
   122         -						if (Pos(pathdir[d], aExecArr[i]) > 0) then
   123         -							updatepath := false;
   124         -							break;
   125         -					end else begin
   126         -						// If app dir exists and = what we originally set, then delete at uninstall
   127         -						if aExecArr[i] = 'SET PATH=%PATH%;' + pathdir[d] then
   128         -							aExecArr[i] := '';
   129         -					end;
   130         -				end;
   131         -			end;
   132         -
   133         -			// If app dir not found, or autoexec.bat didn't exist, then (create and) append to current path
   134         -			if (IsUninstaller() = false) AND (updatepath = true) then begin
   135         -				SaveStringToFile(aExecFile, #13#10 + 'SET PATH=%PATH%;' + pathdir[d], True);
   136         -
   137         -			// If uninstalling, write the full autoexec out
   138         -			end else begin
   139         -				SaveStringsToFile(aExecFile, aExecArr, False);
   140         -			end;
   141         -		end;
   142         -	end;
   143         -
   144         -	// Write file to flag modifypath was selected
   145         -	//   Workaround since IsTaskSelected() cannot be called at uninstall and AppName and AppId cannot be "read" in Code section
   146         -	if IsUninstaller() = false then
   147         -		SaveStringToFile(ExpandConstant('{app}') + '\uninsTasks.txt', WizardSelectedTasks(False), False);
   148         -end;
   149         -
   150         -procedure CurStepChanged(CurStep: TSetupStep);
   151         -var
   152         -	taskname:	String;
   153         -begin
   154         -	taskname := ModPathName;
   155         -	if CurStep = ssPostInstall then
   156         -		if IsTaskSelected(taskname) then
   157         -			ModPath();
   158         -end;
   159         -
   160         -procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
   161         -var
   162         -	appdir:			String;
   163         -	aSelectedTasks:	TArrayOfString;
   164         -	i:				Integer;
   165         -	taskname:		String;
   166         -begin
   167         -	taskname := ModPathName;
   168         -	appdir := ExpandConstant('{app}')
   169         -	if CurUninstallStep = usUninstall then begin
   170         -		if LoadStringsFromFile(appdir + '\uninsTasks.txt', aSelectedTasks) then
   171         -			//for i := 0 to GetArrayLength(aSelectedTasks)-1 do
   172         -				//if aSelectedTasks[i] = taskname then
   173         -					ModPath();
   174         -		DeleteFile(appdir + '\uninsTasks.txt');
   175         -	end;
   176         -end;
   177         -
   178         -function NeedRestart(): Boolean;
   179         -var
   180         -	taskname:	String;
   181         -begin
   182         -	taskname := ModPathName;
   183         -	if IsTaskSelected(taskname) and not UsingWinNT() then begin
   184         -		Result := True;
   185         -	end else begin
   186         -		Result := False;
   187         -	end;
   188         -end;

Added Setup/set_Release.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: set_Release.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  +REM SET MSBUILD_ARGS=/property:TargetFrameworkVersion=v3.5
           19  +SET YEAR=2008
           20  +SET YEARS=%YEAR%
           21  +
           22  +ECHO WARNING: Forcing the use of the .NET Framework 3.5...

Changes to Setup/set_ReleaseNativeOnly.bat.

    10     10   REM
    11     11   REM NOTE: Force usage of the Visual Studio 2008 (.NET Framework 3.5) build
    12     12   REM       system.  This is very important because we want to ship binaries
    13     13   REM       that only rely upon the .NET Framework 2.0 which is very widely
    14     14   REM       deployed and because those binaries will also work with projects
    15     15   REM       using the .NET Framework 4.0.
    16     16   REM
    17         -REM SET NETFX35ONLY=1
    18         -SET MSBUILD_ARGS=/property:TargetFrameworkVersion=v3.5
    19         -SET YEAR=2010
           17  +SET NETFX35ONLY=1
           18  +REM SET MSBUILD_ARGS=/property:TargetFrameworkVersion=v3.5
           19  +SET YEAR=2008
    20     20   SET YEARS=%YEAR%
    21     21   
    22         -REM ECHO WARNING: Forcing the use of the .NET Framework 3.5...
           22  +ECHO WARNING: Forcing the use of the .NET Framework 3.5...

Added Setup/set_ReleaseNativeOnly_x64_2008.bat.

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

Added Setup/set_ReleaseNativeOnly_x64_2010.bat.

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

Added Setup/set_ReleaseNativeOnly_x86_2008.bat.

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

Added Setup/set_ReleaseNativeOnly_x86_2010.bat.

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

Added Setup/set_Release_Win32.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: set_Release_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_Release.bat"

Added Setup/set_Release_x64.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: set_Release_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_Release.bat"

Added Setup/set_Release_x64_2008.bat.

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

Added Setup/set_Release_x64_2010.bat.

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

Added Setup/set_Release_x86_2008.bat.

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

Added Setup/set_Release_x86_2010.bat.

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

Changes to Setup/set_common.bat.

    14     14   IF NOT DEFINED URL (
    15     15     SET URL=http://system.data.sqlite.org/
    16     16   )
    17     17   
    18     18   IF NOT DEFINED PUBLICKEY (
    19     19     SET PUBLICKEY=db937bc2d44ff139
    20     20   )
           21  +
           22  +IF NOT DEFINED CONFIGURATIONS (
           23  +  SET CONFIGURATIONS=Release
           24  +)
    21     25   
    22     26   IF NOT DEFINED PROCESSORS (
    23     27     SET PROCESSORS=x86 x64
    24     28   )
    25     29   
    26     30   IF NOT DEFINED YEARS (
    27         -  SET YEARS=2010
           31  +  SET YEARS=2008
    28     32   )

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

    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>System.Data.SQLite.Linq</RootNamespace>
    20     20       <AssemblyName>System.Data.SQLite.Linq</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    23     23       <NetFx20>true</NetFx20>
           24  +    <ConfigurationYear>2008</ConfigurationYear>
    24     25     </PropertyGroup>
    25     26     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    26     27     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    27     28       <OutputPath>$(BinaryOutputPath)</OutputPath>
    28     29       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    29     30     </PropertyGroup>
    30     31     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to System.Data.SQLite.Linq/System.Data.SQLite.Linq.2010.csproj.

    16     16       <ProjectGuid>{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}</ProjectGuid>
    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>System.Data.SQLite.Linq</RootNamespace>
    20     20       <AssemblyName>System.Data.SQLite.Linq</AssemblyName>
    21     21       <OldToolsVersion>3.5</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
           23  +    <ConfigurationYear>2010</ConfigurationYear>
    23     24     </PropertyGroup>
    24     25     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    25     26     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    26     27       <OutputPath>$(BinaryOutputPath)</OutputPath>
    27     28       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    28     29     </PropertyGroup>
    29     30     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

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

    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>System.Data.SQLite</RootNamespace>
    20     20       <AssemblyName>System.Data.SQLite</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    23     23       <NetFx20>true</NetFx20>
           24  +    <ConfigurationYear>2008</ConfigurationYear>
    24     25     </PropertyGroup>
    25     26     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    26     27     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    27     28       <OutputPath>$(BinaryOutputPath)</OutputPath>
    28     29       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    29     30     </PropertyGroup>
    30     31     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to System.Data.SQLite/System.Data.SQLite.2010.csproj.

    16     16       <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25283A66}</ProjectGuid>
    17     17       <OutputType>Library</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>System.Data.SQLite</RootNamespace>
    20     20       <AssemblyName>System.Data.SQLite</AssemblyName>
    21     21       <OldToolsVersion>3.5</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
           23  +    <ConfigurationYear>2010</ConfigurationYear>
    23     24     </PropertyGroup>
    24     25     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    25     26     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    26     27       <OutputPath>$(BinaryOutputPath)</OutputPath>
    27     28       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    28     29     </PropertyGroup>
    29     30     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

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

    25     25       <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    26     26       <OldToolsVersion>2.0</OldToolsVersion>
    27     27       <NativePlatformName>Windows CE</NativePlatformName>
    28     28       <FormFactorID></FormFactorID>
    29     29       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    30     30       <NetFx20>true</NetFx20>
    31     31       <IsCompactFramework>true</IsCompactFramework>
           32  +    <ConfigurationYear>2008</ConfigurationYear>
    32     33       <ConfigurationSuffix>Compact</ConfigurationSuffix>
    33     34     </PropertyGroup>
    34     35     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    35     36     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    36     37       <OutputPath>$(BinaryOutputPath)</OutputPath>
    37     38       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    38     39     </PropertyGroup>

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

    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>System.Data.SQLite</RootNamespace>
    20     20       <AssemblyName>System.Data.SQLite</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SignAssembly>false</SignAssembly>
    23     23       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    24     24       <NetFx20>true</NetFx20>
           25  +    <ConfigurationYear>2008</ConfigurationYear>
    25     26       <ConfigurationSuffix>Module</ConfigurationSuffix>
    26     27       <UseInteropDll>false</UseInteropDll>
    27     28       <UseSqliteStandard>false</UseSqliteStandard>
    28     29     </PropertyGroup>
    29     30     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    30     31     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    31     32       <OutputPath>$(BinaryOutputPath)</OutputPath>

Changes to System.Data.SQLite/System.Data.SQLite.Module.2010.csproj.

    17     17       <OutputType>Module</OutputType>
    18     18       <AppDesignerFolder>Properties</AppDesignerFolder>
    19     19       <RootNamespace>System.Data.SQLite</RootNamespace>
    20     20       <AssemblyName>System.Data.SQLite</AssemblyName>
    21     21       <OldToolsVersion>3.5</OldToolsVersion>
    22     22       <SignAssembly>false</SignAssembly>
    23     23       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
           24  +    <ConfigurationYear>2010</ConfigurationYear>
    24     25       <ConfigurationSuffix>Module</ConfigurationSuffix>
    25     26       <UseInteropDll>false</UseInteropDll>
    26     27       <UseSqliteStandard>false</UseSqliteStandard>
    27     28     </PropertyGroup>
    28     29     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    29     30     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    30     31       <OutputPath>$(BinaryOutputPath)</OutputPath>

Added Tests/all.eagle.

            1  +###############################################################################
            2  +#
            3  +# all.eagle --
            4  +#
            5  +# This file contains a top-level script to run all of the tests.
            6  +# Execute it by invoking "source all.eagle".
            7  +#
            8  +# Extensible Adaptable Generalized Logic Engine (Eagle)
            9  +# Test Suite File
           10  +#
           11  +# Written by Joe Mistachkin.
           12  +# Released to the public domain, use at your own risk!
           13  +#
           14  +###############################################################################
           15  +
           16  +package require EagleLibrary
           17  +package require EagleTest
           18  +
           19  +runTestPrologue
           20  +
           21  +###############################################################################
           22  +
           23  +set no(prologue.eagle) true
           24  +set no(epilogue.eagle) true
           25  +
           26  +#
           27  +# NOTE: Run the local test prologue, if any.
           28  +#
           29  +if {[file exists [file join $path prologue.eagle]]} then {
           30  +  source [file join $path prologue.eagle]
           31  +}
           32  +
           33  +#
           34  +# NOTE: Run all the unit tests.
           35  +#
           36  +set test_time [time {
           37  +  runAllTests $test_channel $path \
           38  +    [getTestFiles [list $path] $test_flags(-file) $test_flags(-notFile)] \
           39  +    [list [file tail [info script]] \
           40  +    *.tcl pkgIndex.eagle constraints.eagle epilogue.eagle prologue.eagle]
           41  +}]
           42  +
           43  +#
           44  +# NOTE: Run the local test epilogue, if any.
           45  +#
           46  +if {[file exists [file join $path epilogue.eagle]]} then {
           47  +  source [file join $path epilogue.eagle]
           48  +}
           49  +
           50  +tputs $test_channel [appendArgs "---- all tests completed in " $test_time \n]
           51  +unset test_time
           52  +
           53  +unset no(epilogue.eagle)
           54  +unset no(prologue.eagle)
           55  +
           56  +if {[array size no] == 0} then {unset no}
           57  +
           58  +###############################################################################
           59  +
           60  +runTestEpilogue

Added Tests/basic.eagle.

            1  +###############################################################################
            2  +#
            3  +# basic.eagle --
            4  +#
            5  +# Written by Joe Mistachkin.
            6  +# Released to the public domain, use at your own risk!
            7  +#
            8  +###############################################################################
            9  +
           10  +package require EagleLibrary
           11  +package require EagleTest
           12  +
           13  +runTestPrologue
           14  +
           15  +###############################################################################
           16  +
           17  +set test_configuration Release
           18  +
           19  +object load -loadtype File [file join [file dirname $path] bin \
           20  +    $test_configuration bin System.Data.SQLite.dll]
           21  +
           22  +###############################################################################
           23  +
           24  +runTest {test basic-1.1 {simple INSERT / SELECT} -setup {
           25  +  set fileName [file join [getTemporaryPath] test.sqlite3]
           26  +  set connection [sql open -type SQLite [subst {Data Source=${fileName}}]]
           27  +} -body {
           28  +  set result [list]
           29  +
           30  +  lappend result [sql execute -execute scalar $connection \
           31  +      "SELECT sqlite_source_id();"]
           32  +
           33  +  sql execute $connection "CREATE TABLE t1(x INTEGER PRIMARY KEY ASC, y, z);"
           34  +  sql execute $connection "INSERT INTO t1 (x, y, z) VALUES(1, 'foo', 1234);"
           35  +
           36  +  sql execute -execute reader $connection "SELECT * FROM t1;"
           37  +
           38  +  foreach name [lsort [array names rows]] {
           39  +    lappend result [list $name $rows($name)]
           40  +  }
           41  +
           42  +  set result
           43  +} -cleanup {
           44  +  catch {sql close $connection}
           45  +  catch {file delete $fileName}
           46  +  unset -nocomplain name rows result connection fileName
           47  +} -constraints {eagle monoBug28 command.sql compile.DATA} -match regexp \
           48  +-result {^\{\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} [0-9a-f]{40}\} \{1 \{\{x 1\}\
           49  +\{y foo\} \{z 1234\}\}\} \{count 1\} \{names \{x y z\}\}$}}
           50  +
           51  +###############################################################################
           52  +
           53  +runTestEpilogue

Changes to test/test.2008.csproj.

    17     17       <AppDesignerFolder>Properties</AppDesignerFolder>
    18     18       <OutputType>WinExe</OutputType>
    19     19       <RootNamespace>test</RootNamespace>
    20     20       <AssemblyName>test</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    23     23       <NetFx20>true</NetFx20>
           24  +    <ConfigurationYear>2008</ConfigurationYear>
    24     25     </PropertyGroup>
    25     26     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    26     27     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    27     28       <OutputPath>$(BinaryOutputPath)</OutputPath>
    28     29       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    29     30     </PropertyGroup>
    30     31     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Changes to test/test.2010.csproj.

    16     16       <ProjectGuid>{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}</ProjectGuid>
    17     17       <AppDesignerFolder>Properties</AppDesignerFolder>
    18     18       <OutputType>WinExe</OutputType>
    19     19       <RootNamespace>test</RootNamespace>
    20     20       <AssemblyName>test</AssemblyName>
    21     21       <OldToolsVersion>3.5</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
           23  +    <ConfigurationYear>2010</ConfigurationYear>
    23     24     </PropertyGroup>
    24     25     <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" />
    25     26     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    26     27       <OutputPath>$(BinaryOutputPath)</OutputPath>
    27     28       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile>
    28     29     </PropertyGroup>
    29     30     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">