System.Data.SQLite
Check-in [76b4cc2889]
Not logged in

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

Overview
Comment:Enhance MSBuild infrastructure to better support targeting alternative .NET Framework versions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 76b4cc2889fcafb34f96cceb171966074720a6fb
User & Date: mistachkin 2016-01-25 22:17:18
Context
2016-01-27
21:07
Permit better customization of the version-specific .NET Framework MSBuild files. check-in: ae1c8b02fb user: mistachkin tags: trunk
2016-01-25
22:17
Enhance MSBuild infrastructure to better support targeting alternative .NET Framework versions. check-in: 76b4cc2889 user: mistachkin tags: trunk
2016-01-20
19:26
Update SQLite core library to the 3.10.2 release. check-in: 7c8e9fecd2 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.Designer/SQLite.Designer.2005.csproj.

   196    196       <None Include="source.extension.vsixmanifest" />
   197    197     </ItemGroup>
   198    198     <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" />
   199    199     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   200    200     <PropertyGroup Condition="'$(VSSDK80Install)' == ''">
   201    201       <VSSDK80Install Condition="'$(ProgramFiles)' != '' And ('$(PROCESSOR_ARCHITECTURE)' == 'x86' And '$(PROCESSOR_ARCHITEW6432)' == '')">$(ProgramFiles)\Visual Studio 2005 SDK\2007.02\</VSSDK80Install>
   202    202       <VSSDK80Install Condition="'$(ProgramFiles%28x86%29)' != '' And ('$(PROCESSOR_ARCHITECTURE)' != 'x86' Or '$(PROCESSOR_ARCHITEW6432)' != '')">$(ProgramFiles%28x86%29)\Visual Studio 2005 SDK\2007.02\</VSSDK80Install>
          203  +  </PropertyGroup>
          204  +  <PropertyGroup Condition="'$(NetFx20)' == 'false'">
          205  +    <!--
          206  +        NOTE: We cannot build this project unless the version of the .NET
          207  +              Framework matches exactly.
          208  +    -->
          209  +    <BuildDependsOn>
          210  +      WrongNetFx
          211  +    </BuildDependsOn>
   203    212     </PropertyGroup>
   204    213     <PropertyGroup Condition="'$(VSSDK80Install)' == '' Or
   205    214                               !Exists('$(VSSDK80Install)VisualStudioIntegration\Common\Assemblies\Microsoft.Data.ConnectionUI.dll') Or
   206    215                               !Exists('$(VSSDK80Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Data.dll') Or
   207    216                               !Exists('$(VSSDK80Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.OLE.Interop.dll') Or
   208    217                               !Exists('$(VSSDK80Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Shell.dll') Or
   209    218                               !Exists('$(VSSDK80Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Shell.Interop.dll') Or

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

   198    198     <ItemGroup>
   199    199       <None Include="Resources\info.png" />
   200    200       <None Include="Resources\ToolboxItems.txt" />
   201    201       <None Include="source.extension.vsixmanifest" />
   202    202     </ItemGroup>
   203    203     <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" />
   204    204     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
          205  +  <PropertyGroup Condition="'$(NetFx35)' == 'false'">
          206  +    <!--
          207  +        NOTE: We cannot build this project unless the version of the .NET
          208  +              Framework matches exactly.
          209  +    -->
          210  +    <BuildDependsOn>
          211  +      WrongNetFx
          212  +    </BuildDependsOn>
          213  +  </PropertyGroup>
   205    214     <PropertyGroup Condition="'$(VSSDK90Install)' == '' Or
   206    215                               !Exists('$(VSSDK90Install)VisualStudioIntegration\Common\Assemblies\Microsoft.Data.ConnectionUI.dll') Or
   207    216                               !Exists('$(VSSDK90Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Data.dll') Or
   208    217                               !Exists('$(VSSDK90Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Data.Services.dll') Or
   209    218                               !Exists('$(VSSDK90Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.OLE.Interop.dll') Or
   210    219                               !Exists('$(VSSDK90Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Shell.dll') Or
   211    220                               !Exists('$(VSSDK90Install)VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Shell.Interop.dll') Or

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

   198    198     <ItemGroup>
   199    199       <None Include="Resources\info.png" />
   200    200       <None Include="Resources\ToolboxItems.txt" />
   201    201       <None Include="source.extension.vsixmanifest" />
   202    202     </ItemGroup>
   203    203     <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" />
   204    204     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
          205  +  <PropertyGroup Condition="'$(NetFx40)' == 'false'">
          206  +    <!--
          207  +        NOTE: We cannot build this project unless the version of the .NET
          208  +              Framework matches exactly.
          209  +    -->
          210  +    <BuildDependsOn>
          211  +      WrongNetFx
          212  +    </BuildDependsOn>
          213  +  </PropertyGroup>
   205    214     <PropertyGroup Condition="'$(VSSDK100Install)' == '' Or
   206    215                               !Exists('$(VSSDK100Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Data.ConnectionUI.dll') Or
   207    216                               !Exists('$(VSSDK100Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.dll') Or
   208    217                               !Exists('$(VSSDK100Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.Services.dll') Or
   209    218                               !Exists('$(VSSDK100Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.OLE.Interop.dll') Or
   210    219                               !Exists('$(VSSDK100Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.dll') Or
   211    220                               !Exists('$(VSSDK100Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.dll') Or

Changes to SQLite.Designer/SQLite.Designer.2012.csproj.

   204    204     <ItemGroup>
   205    205       <None Include="Resources\info.png" />
   206    206       <None Include="Resources\ToolboxItems.txt" />
   207    207       <None Include="source.extension.vsixmanifest" />
   208    208     </ItemGroup>
   209    209     <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" />
   210    210     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
          211  +  <PropertyGroup Condition="'$(NetFx45)' == 'false'">
          212  +    <!--
          213  +        NOTE: We cannot build this project unless the version of the .NET
          214  +              Framework matches exactly.
          215  +    -->
          216  +    <BuildDependsOn>
          217  +      WrongNetFx
          218  +    </BuildDependsOn>
          219  +  </PropertyGroup>
   211    220     <PropertyGroup Condition="'$(VSSDK110Install)' == '' Or
   212    221                               !Exists('$(VSSDK110Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Data.ConnectionUI.dll') Or
   213    222                               !Exists('$(VSSDK110Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.dll') Or
   214    223                               !Exists('$(VSSDK110Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.Services.dll') Or
   215    224                               !Exists('$(VSSDK110Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.OLE.Interop.dll') Or
   216    225                               !Exists('$(VSSDK110Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.11.0.dll') Or
   217    226                               !Exists('$(VSSDK110Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.dll') Or

Changes to SQLite.Designer/SQLite.Designer.2013.csproj.

   204    204     <ItemGroup>
   205    205       <None Include="Resources\info.png" />
   206    206       <None Include="Resources\ToolboxItems.txt" />
   207    207       <None Include="source.extension.vsixmanifest" />
   208    208     </ItemGroup>
   209    209     <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" />
   210    210     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
          211  +  <PropertyGroup Condition="'$(NetFx451)' == 'false'">
          212  +    <!--
          213  +        NOTE: We cannot build this project unless the version of the .NET
          214  +              Framework matches exactly.
          215  +    -->
          216  +    <BuildDependsOn>
          217  +      WrongNetFx
          218  +    </BuildDependsOn>
          219  +  </PropertyGroup>
   211    220     <PropertyGroup Condition="'$(VSSDK120Install)' == '' Or
   212    221                               !Exists('$(VSSDK120Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Data.ConnectionUI.dll') Or
   213    222                               !Exists('$(VSSDK120Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.dll') Or
   214    223                               !Exists('$(VSSDK120Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.Services.dll') Or
   215    224                               !Exists('$(VSSDK120Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.OLE.Interop.dll') Or
   216    225                               !Exists('$(VSSDK120Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.12.0.dll') Or
   217    226                               !Exists('$(VSSDK120Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.dll') Or

Changes to SQLite.Designer/SQLite.Designer.2015.csproj.

   204    204     <ItemGroup>
   205    205       <None Include="Resources\info.png" />
   206    206       <None Include="Resources\ToolboxItems.txt" />
   207    207       <None Include="source.extension.vsixmanifest" />
   208    208     </ItemGroup>
   209    209     <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" />
   210    210     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
          211  +  <PropertyGroup Condition="'$(NetFx46)' == 'false'">
          212  +    <!--
          213  +        NOTE: We cannot build this project unless the version of the .NET
          214  +              Framework matches exactly.
          215  +    -->
          216  +    <BuildDependsOn>
          217  +      WrongNetFx
          218  +    </BuildDependsOn>
          219  +  </PropertyGroup>
   211    220     <PropertyGroup Condition="'$(VSSDK140Install)' == '' Or
   212    221                               !Exists('$(VSSDK140Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Data.ConnectionUI.dll') Or
   213    222                               !Exists('$(VSSDK140Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.dll') Or
   214    223                               !Exists('$(VSSDK140Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.Services.dll') Or
   215    224                               !Exists('$(VSSDK140Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.OLE.Interop.dll') Or
   216    225                               !Exists('$(VSSDK140Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.14.0.dll') Or
   217    226                               !Exists('$(VSSDK140Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.dll') Or

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

    24     24       <OldToolsVersion>3.5</OldToolsVersion>
    25     25       <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    26     26       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    27     27       <NetFx40>true</NetFx40>
    28     28       <ConfigurationYear>2010</ConfigurationYear>
    29     29     </PropertyGroup>
    30     30     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           31  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    31     32     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    32     33       <OutputPath>$(BinaryOutputPath)</OutputPath>
    33     34       <DocumentationFile Condition="'$(UseEntityFramework6)' == 'false'">$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    34     35       <DocumentationFile Condition="'$(UseEntityFramework6)' != 'false'">$(BinaryOutputPath)System.Data.SQLite.EF6.xml</DocumentationFile>
    35     36     </PropertyGroup>
    36     37     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    37     38       <DebugSymbols>true</DebugSymbols>

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

    22     22       <AssemblyName Condition="'$(UseEntityFramework6)' != 'false'">System.Data.SQLite.EF6</AssemblyName>
    23     23       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    24     24       <NetFx45>true</NetFx45>
    25     25       <ConfigurationYear>2012</ConfigurationYear>
    26     26       <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    27     27     </PropertyGroup>
    28     28     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           29  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    29     30     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    30     31       <OutputPath>$(BinaryOutputPath)</OutputPath>
    31     32       <DocumentationFile Condition="'$(UseEntityFramework6)' == 'false'">$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    32     33       <DocumentationFile Condition="'$(UseEntityFramework6)' != 'false'">$(BinaryOutputPath)System.Data.SQLite.EF6.xml</DocumentationFile>
    33     34     </PropertyGroup>
    34     35     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    35     36       <DebugSymbols>true</DebugSymbols>
................................................................................
    50     51       <Reference Include="System.Data" />
    51     52       <Reference Include="System.Xml" />
    52     53     </ItemGroup>
    53     54     <ItemGroup Condition="'$(UseEntityFramework6)' == 'false'">
    54     55       <Reference Include="System.Data.Entity" />
    55     56     </ItemGroup>
    56     57     <ItemGroup Condition="'$(UseEntityFramework6)' != 'false'">
    57         -    <Reference Include="EntityFramework">
           58  +    <Reference Include="EntityFramework"
           59  +               Condition="'$(NetFx40)' != 'false'">
           60  +      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
           61  +    </Reference>
           62  +    <Reference Include="EntityFramework"
           63  +               Condition="'$(NetFx45)' != 'false' Or
           64  +                          '$(NetFx451)' != 'false' Or
           65  +                          '$(NetFx452)' != 'false' Or
           66  +                          '$(NetFx46)' != 'false' Or
           67  +                          '$(NetFx461)' != 'false'">
    58     68         <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    59     69       </Reference>
    60     70     </ItemGroup>
    61     71     <ItemGroup>
    62     72       <Compile Include="AssemblyInfo.cs" />
    63     73       <Compile Include="Properties\Resources.Designer.cs">
    64     74         <AutoGen>True</AutoGen>

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

    22     22       <AssemblyName Condition="'$(UseEntityFramework6)' != 'false'">System.Data.SQLite.EF6</AssemblyName>
    23     23       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    24     24       <NetFx451>true</NetFx451>
    25     25       <ConfigurationYear>2013</ConfigurationYear>
    26     26       <TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
    27     27     </PropertyGroup>
    28     28     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           29  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    29     30     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    30     31       <OutputPath>$(BinaryOutputPath)</OutputPath>
    31     32       <DocumentationFile Condition="'$(UseEntityFramework6)' == 'false'">$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    32     33       <DocumentationFile Condition="'$(UseEntityFramework6)' != 'false'">$(BinaryOutputPath)System.Data.SQLite.EF6.xml</DocumentationFile>
    33     34     </PropertyGroup>
    34     35     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    35     36       <DebugSymbols>true</DebugSymbols>
................................................................................
    50     51       <Reference Include="System.Data" />
    51     52       <Reference Include="System.Xml" />
    52     53     </ItemGroup>
    53     54     <ItemGroup Condition="'$(UseEntityFramework6)' == 'false'">
    54     55       <Reference Include="System.Data.Entity" />
    55     56     </ItemGroup>
    56     57     <ItemGroup Condition="'$(UseEntityFramework6)' != 'false'">
    57         -    <Reference Include="EntityFramework">
           58  +    <Reference Include="EntityFramework"
           59  +               Condition="'$(NetFx40)' != 'false'">
           60  +      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
           61  +    </Reference>
           62  +    <Reference Include="EntityFramework"
           63  +               Condition="'$(NetFx45)' != 'false' Or
           64  +                          '$(NetFx451)' != 'false' Or
           65  +                          '$(NetFx452)' != 'false' Or
           66  +                          '$(NetFx46)' != 'false' Or
           67  +                          '$(NetFx461)' != 'false'">
    58     68         <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    59     69       </Reference>
    60     70     </ItemGroup>
    61     71     <ItemGroup>
    62     72       <Compile Include="AssemblyInfo.cs" />
    63     73       <Compile Include="Properties\Resources.Designer.cs">
    64     74         <AutoGen>True</AutoGen>

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

    22     22       <AssemblyName Condition="'$(UseEntityFramework6)' != 'false'">System.Data.SQLite.EF6</AssemblyName>
    23     23       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    24     24       <NetFx46>true</NetFx46>
    25     25       <ConfigurationYear>2015</ConfigurationYear>
    26     26       <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
    27     27     </PropertyGroup>
    28     28     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           29  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    29     30     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    30     31       <OutputPath>$(BinaryOutputPath)</OutputPath>
    31     32       <DocumentationFile Condition="'$(UseEntityFramework6)' == 'false'">$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    32     33       <DocumentationFile Condition="'$(UseEntityFramework6)' != 'false'">$(BinaryOutputPath)System.Data.SQLite.EF6.xml</DocumentationFile>
    33     34     </PropertyGroup>
    34     35     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    35     36       <DebugSymbols>true</DebugSymbols>
................................................................................
    50     51       <Reference Include="System.Data" />
    51     52       <Reference Include="System.Xml" />
    52     53     </ItemGroup>
    53     54     <ItemGroup Condition="'$(UseEntityFramework6)' == 'false'">
    54     55       <Reference Include="System.Data.Entity" />
    55     56     </ItemGroup>
    56     57     <ItemGroup Condition="'$(UseEntityFramework6)' != 'false'">
    57         -    <Reference Include="EntityFramework">
           58  +    <Reference Include="EntityFramework"
           59  +               Condition="'$(NetFx40)' != 'false'">
           60  +      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
           61  +    </Reference>
           62  +    <Reference Include="EntityFramework"
           63  +               Condition="'$(NetFx45)' != 'false' Or
           64  +                          '$(NetFx451)' != 'false' Or
           65  +                          '$(NetFx452)' != 'false' Or
           66  +                          '$(NetFx46)' != 'false' Or
           67  +                          '$(NetFx461)' != 'false'">
    58     68         <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    59     69       </Reference>
    60     70     </ItemGroup>
    61     71     <ItemGroup>
    62     72       <Compile Include="AssemblyInfo.cs" />
    63     73       <Compile Include="Properties\Resources.Designer.cs">
    64     74         <AutoGen>True</AutoGen>

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

    20     20       <AssemblyName>System.Data.SQLite.Linq</AssemblyName>
    21     21       <OldToolsVersion>2.0</OldToolsVersion>
    22     22       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    23     23       <NetFx35>true</NetFx35>
    24     24       <ConfigurationYear>2008</ConfigurationYear>
    25     25     </PropertyGroup>
    26     26     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           27  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    27     28     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    28     29       <OutputPath>$(BinaryOutputPath)</OutputPath>
    29     30       <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile>
    30     31     </PropertyGroup>
    31     32     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    32     33       <DebugSymbols>true</DebugSymbols>
    33     34       <DebugType>full</DebugType>

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

    17     17       <NetFx451>false</NetFx451>
    18     18       <NetFx452>false</NetFx452>
    19     19       <NetFx46>false</NetFx46>
    20     20       <NetFx461>false</NetFx461>
    21     21       <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    22     22       <TargetFrameworkProfile></TargetFrameworkProfile>
    23     23       <Prefer32Bit>false</Prefer32Bit>
    24         -    <PlatformToolset>v110</PlatformToolset>
           24  +    <!-- <PlatformToolset>v110</PlatformToolset> -->
    25     25     </PropertyGroup>
    26     26   </Project>

Added Targets/SQLite.NET.Settings.targets.netFx40.

            1  +<!--
            2  + *
            3  + * SQLite.NET.Settings.targets.netFx40 -
            4  + *
            5  + * Written by Joe Mistachkin.
            6  + * Released to the public domain, use at your own risk!
            7  + *
            8  +-->
            9  +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
           10  +  <PropertyGroup Condition="'$(ConfigurationYear)' == '2010' Or
           11  +                            '$(ConfigurationYear)' == '2012' Or
           12  +                            '$(ConfigurationYear)' == '2013' Or
           13  +                            '$(ConfigurationYear)' == '2015'">
           14  +    <NetFx20>false</NetFx20>
           15  +    <NetFx35>false</NetFx35>
           16  +    <NetFx40>true</NetFx40>
           17  +    <NetFx45>false</NetFx45>
           18  +    <NetFx451>false</NetFx451>
           19  +    <NetFx452>false</NetFx452>
           20  +    <NetFx46>false</NetFx46>
           21  +    <NetFx461>false</NetFx461>
           22  +    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
           23  +    <Prefer32Bit>false</Prefer32Bit>
           24  +    <!-- <PlatformToolset>v100</PlatformToolset> -->
           25  +  </PropertyGroup>
           26  +</Project>

Changes to Targets/SQLite.NET.targets.

   200    200       <Copy SourceFiles="@(ConfigurationFiles)"
   201    201             DestinationFolder="$(OutputPath)" />
   202    202   
   203    203       <Touch AlwaysCreate="true"
   204    204              Files="$(TargetPath).CopyConfigurations.done" />
   205    205     </Target>
   206    206   
          207  +  <!--
          208  +  ******************************************************************************
          209  +  -->
          210  +
          211  +  <Target Name="WrongNetFx"
          212  +          Condition="'$(ProjectName)' != ''">
          213  +    <Warning Text="Version mismatch for the .NET Framework, skipping project &quot;$(ProjectName)&quot;..." />
          214  +  </Target>
          215  +
   207    216     <!--
   208    217     ******************************************************************************
   209    218     -->
   210    219   
   211    220     <Target Name="MissingVsSdk"
   212    221             Condition="'$(ProjectName)' != ''">
   213    222       <Warning Text="The Visual Studio SDK is missing, skipping project &quot;$(ProjectName)&quot;..." />
   214    223     </Target>
   215    224   </Project>

Changes to testce/testce.2005.csproj.

    29     29       <NetFx20>true</NetFx20>
    30     30       <ConfigurationYear>2005</ConfigurationYear>
    31     31       <ConfigurationSuffix>Compact</ConfigurationSuffix>
    32     32       <DeployDirSuffix>testce</DeployDirSuffix>
    33     33       <DeployDirPrefix>%25CSIDL_PROGRAM_FILES%25</DeployDirPrefix>
    34     34     </PropertyGroup>
    35     35     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           36  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    36     37     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    37     38       <OutputPath>$(BinaryOutputPath)</OutputPath>
    38     39     </PropertyGroup>
    39     40     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    40     41       <DebugSymbols>true</DebugSymbols>
    41     42       <DebugType>full</DebugType>
    42     43       <Optimize>false</Optimize>

Changes to testce/testce.2008.csproj.

    30     30       <NetFx35>true</NetFx35>
    31     31       <ConfigurationYear>2008</ConfigurationYear>
    32     32       <ConfigurationSuffix>Compact</ConfigurationSuffix>
    33     33       <DeployDirSuffix>testce</DeployDirSuffix>
    34     34       <DeployDirPrefix>%25CSIDL_PROGRAM_FILES%25</DeployDirPrefix>
    35     35     </PropertyGroup>
    36     36     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           37  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    37     38     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    38     39       <OutputPath>$(BinaryOutputPath)</OutputPath>
    39     40     </PropertyGroup>
    40     41     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    41     42       <DebugSymbols>true</DebugSymbols>
    42     43       <DebugType>full</DebugType>
    43     44       <Optimize>false</Optimize>

Changes to testce/testce.2012.csproj.

    24     24       <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir>
    25     25       <NetFx35>true</NetFx35>
    26     26       <NetFx35Settings>false</NetFx35Settings>
    27     27       <ConfigurationYear>2012</ConfigurationYear>
    28     28       <ConfigurationSuffix>Compact</ConfigurationSuffix>
    29     29     </PropertyGroup>
    30     30     <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.Settings.targets" />
           31  +  <Import Project="$(SQLiteNetDir)\Targets\SQLite.NET.targets" />
    31     32     <PropertyGroup Condition="'$(BinaryOutputPath)' != ''">
    32     33       <OutputPath>$(BinaryOutputPath)</OutputPath>
    33     34     </PropertyGroup>
    34     35     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    35     36       <DebugSymbols>true</DebugSymbols>
    36     37       <DebugType>full</DebugType>
    37     38       <Optimize>false</Optimize>

Changes to testlinq/test.2012.csproj.

    50     50       <Reference Include="System.Xml" />
    51     51       <Reference Include="System.Data" />
    52     52     </ItemGroup>
    53     53     <ItemGroup Condition="'$(UseEntityFramework6)' == 'false'">
    54     54       <Reference Include="System.Data.Entity" />
    55     55     </ItemGroup>
    56     56     <ItemGroup Condition="'$(UseEntityFramework6)' != 'false'">
    57         -    <Reference Include="EntityFramework">
           57  +    <Reference Include="EntityFramework"
           58  +               Condition="'$(NetFx40)' != 'false'">
           59  +      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
           60  +    </Reference>
           61  +    <Reference Include="EntityFramework"
           62  +               Condition="'$(NetFx45)' != 'false' Or
           63  +                          '$(NetFx451)' != 'false' Or
           64  +                          '$(NetFx452)' != 'false' Or
           65  +                          '$(NetFx46)' != 'false' Or
           66  +                          '$(NetFx461)' != 'false'">
    58     67         <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    59     68       </Reference>
    60     69     </ItemGroup>
    61     70     <ItemGroup>
    62     71       <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
    63     72                Include="NorthwindModel.Linq.2008.Designer.cs">
    64     73         <AutoGen>True</AutoGen>

Changes to testlinq/test.2013.csproj.

    50     50       <Reference Include="System.Xml" />
    51     51       <Reference Include="System.Data" />
    52     52     </ItemGroup>
    53     53     <ItemGroup Condition="'$(UseEntityFramework6)' == 'false'">
    54     54       <Reference Include="System.Data.Entity" />
    55     55     </ItemGroup>
    56     56     <ItemGroup Condition="'$(UseEntityFramework6)' != 'false'">
    57         -    <Reference Include="EntityFramework">
           57  +    <Reference Include="EntityFramework"
           58  +               Condition="'$(NetFx40)' != 'false'">
           59  +      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
           60  +    </Reference>
           61  +    <Reference Include="EntityFramework"
           62  +               Condition="'$(NetFx45)' != 'false' Or
           63  +                          '$(NetFx451)' != 'false' Or
           64  +                          '$(NetFx452)' != 'false' Or
           65  +                          '$(NetFx46)' != 'false' Or
           66  +                          '$(NetFx461)' != 'false'">
    58     67         <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    59     68       </Reference>
    60     69     </ItemGroup>
    61     70     <ItemGroup>
    62     71       <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
    63     72                Include="NorthwindModel.Linq.2008.Designer.cs">
    64     73         <AutoGen>True</AutoGen>

Changes to testlinq/test.2015.csproj.

    50     50       <Reference Include="System.Xml" />
    51     51       <Reference Include="System.Data" />
    52     52     </ItemGroup>
    53     53     <ItemGroup Condition="'$(UseEntityFramework6)' == 'false'">
    54     54       <Reference Include="System.Data.Entity" />
    55     55     </ItemGroup>
    56     56     <ItemGroup Condition="'$(UseEntityFramework6)' != 'false'">
    57         -    <Reference Include="EntityFramework">
           57  +    <Reference Include="EntityFramework"
           58  +               Condition="'$(NetFx40)' != 'false'">
           59  +      <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net40\EntityFramework.dll</HintPath>
           60  +    </Reference>
           61  +    <Reference Include="EntityFramework"
           62  +               Condition="'$(NetFx45)' != 'false' Or
           63  +                          '$(NetFx451)' != 'false' Or
           64  +                          '$(NetFx452)' != 'false' Or
           65  +                          '$(NetFx46)' != 'false' Or
           66  +                          '$(NetFx461)' != 'false'">
    58     67         <HintPath>$(SQLiteNetDir)\Externals\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
    59     68       </Reference>
    60     69     </ItemGroup>
    61     70     <ItemGroup>
    62     71       <Compile Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
    63     72                Include="NorthwindModel.Linq.2008.Designer.cs">
    64     73         <AutoGen>True</AutoGen>