System.Data.SQLite
Check-in [999c925007]
Not logged in

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

Overview
Comment:More work on the PostBuildEvent replacements.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | interopPostBuild
Files: files | file ages | folders
SHA1: 999c92500757bba8bdafbac43a1b12eb0156eb0d
User & Date: mistachkin 2016-08-31 20:28:01
Context
2016-08-31
20:55
Further refinements. check-in: 1df1cd4fec user: mistachkin tags: interopPostBuild
20:28
More work on the PostBuildEvent replacements. check-in: 999c925007 user: mistachkin tags: interopPostBuild
20:06
Initial work on fixing the PostBuildEvent issues with the interop assembly project. check-in: 7a51a2839e user: mistachkin tags: interopPostBuild
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

   165    165         <DelaySign>true</DelaySign>
   166    166       </Link>
   167    167       <Manifest>
   168    168         <VerboseOutput>true</VerboseOutput>
   169    169         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   170    170         <UpdateFileHashes>true</UpdateFileHashes>
   171    171       </Manifest>
   172         -    <PostBuildEvent>
   173         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   174         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   175         -    </PostBuildEvent>
   176    172     </ItemDefinitionGroup>
          173  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
          174  +    <AfterBuildLinkTargets>
          175  +      $(AfterBuildLinkTargets);
          176  +      SignMixedModeAssembly;
          177  +    </AfterBuildLinkTargets>
          178  +  </PropertyGroup>
   177    179     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   178    180       <ClCompile>
   179    181         <Optimization>Disabled</Optimization>
   180    182         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   181    183         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   182    184         <MinimalRebuild>false</MinimalRebuild>
   183    185         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   209    211         <DelaySign>true</DelaySign>
   210    212       </Link>
   211    213       <Manifest>
   212    214         <VerboseOutput>true</VerboseOutput>
   213    215         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   214    216         <UpdateFileHashes>true</UpdateFileHashes>
   215    217       </Manifest>
   216         -    <PostBuildEvent>
   217         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   218         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   219         -    </PostBuildEvent>
   220    218     </ItemDefinitionGroup>
          219  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
          220  +    <AfterBuildLinkTargets>
          221  +      $(AfterBuildLinkTargets);
          222  +      SignMixedModeAssembly;
          223  +    </AfterBuildLinkTargets>
          224  +  </PropertyGroup>
   221    225     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
   222    226       <ClCompile>
   223    227         <Optimization>Disabled</Optimization>
   224    228         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   225    229         <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   226    230         <MinimalRebuild>false</MinimalRebuild>
   227    231         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   247    251         <TargetMachine>MachineX86</TargetMachine>
   248    252       </Link>
   249    253       <Manifest>
   250    254         <VerboseOutput>true</VerboseOutput>
   251    255         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   252    256         <UpdateFileHashes>true</UpdateFileHashes>
   253    257       </Manifest>
   254         -    <PostBuildEvent>
   255         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   256         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   257         -    </PostBuildEvent>
   258    258     </ItemDefinitionGroup>
          259  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
          260  +    <BaseConfiguration>Debug</BaseConfiguration>
          261  +    <AfterBuildLinkTargets>
          262  +      $(AfterBuildLinkTargets);
          263  +      CopyInteropAssembly;
          264  +    </AfterBuildLinkTargets>
          265  +  </PropertyGroup>
   259    266     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   260    267       <ClCompile>
   261    268         <Optimization>Disabled</Optimization>
   262    269         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   263    270         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   264    271         <MinimalRebuild>false</MinimalRebuild>
   265    272         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   285    292         <TargetMachine>MachineX64</TargetMachine>
   286    293       </Link>
   287    294       <Manifest>
   288    295         <VerboseOutput>true</VerboseOutput>
   289    296         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   290    297         <UpdateFileHashes>true</UpdateFileHashes>
   291    298       </Manifest>
   292         -    <PostBuildEvent>
   293         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   294         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   295         -    </PostBuildEvent>
   296    299     </ItemDefinitionGroup>
          300  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
          301  +    <BaseConfiguration>Debug</BaseConfiguration>
          302  +    <AfterBuildLinkTargets>
          303  +      $(AfterBuildLinkTargets);
          304  +      CopyInteropAssembly;
          305  +    </AfterBuildLinkTargets>
          306  +  </PropertyGroup>
   297    307     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   298    308       <ClCompile>
   299    309         <Optimization>Full</Optimization>
   300    310         <IntrinsicFunctions>true</IntrinsicFunctions>
   301    311         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   302    312         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   303    313         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   331    341         <DelaySign>true</DelaySign>
   332    342       </Link>
   333    343       <Manifest>
   334    344         <VerboseOutput>true</VerboseOutput>
   335    345         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   336    346         <UpdateFileHashes>true</UpdateFileHashes>
   337    347       </Manifest>
   338         -    <PostBuildEvent>
   339         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   340         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   341         -    </PostBuildEvent>
   342    348     </ItemDefinitionGroup>
          349  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
          350  +    <AfterBuildLinkTargets>
          351  +      $(AfterBuildLinkTargets);
          352  +      SignMixedModeAssembly;
          353  +    </AfterBuildLinkTargets>
          354  +  </PropertyGroup>
   343    355     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   344    356       <ClCompile>
   345    357         <Optimization>Full</Optimization>
   346    358         <IntrinsicFunctions>true</IntrinsicFunctions>
   347    359         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   348    360         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   349    361         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   377    389         <DelaySign>true</DelaySign>
   378    390       </Link>
   379    391       <Manifest>
   380    392         <VerboseOutput>true</VerboseOutput>
   381    393         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   382    394         <UpdateFileHashes>true</UpdateFileHashes>
   383    395       </Manifest>
   384         -    <PostBuildEvent>
   385         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   386         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   387         -    </PostBuildEvent>
   388    396     </ItemDefinitionGroup>
          397  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
          398  +    <AfterBuildLinkTargets>
          399  +      $(AfterBuildLinkTargets);
          400  +      SignMixedModeAssembly;
          401  +    </AfterBuildLinkTargets>
          402  +  </PropertyGroup>
   389    403     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
   390    404       <ClCompile>
   391    405         <Optimization>Full</Optimization>
   392    406         <IntrinsicFunctions>true</IntrinsicFunctions>
   393    407         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   394    408         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   395    409         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   418    432         <TargetMachine>MachineX86</TargetMachine>
   419    433       </Link>
   420    434       <Manifest>
   421    435         <VerboseOutput>true</VerboseOutput>
   422    436         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   423    437         <UpdateFileHashes>true</UpdateFileHashes>
   424    438       </Manifest>
   425         -    <PostBuildEvent>
   426         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   427         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   428         -    </PostBuildEvent>
   429    439     </ItemDefinitionGroup>
          440  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          441  +    <BaseConfiguration>Release</BaseConfiguration>
          442  +    <AfterBuildLinkTargets>
          443  +      $(AfterBuildLinkTargets);
          444  +      CopyInteropAssembly;
          445  +    </AfterBuildLinkTargets>
          446  +  </PropertyGroup>
   430    447     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   431    448       <ClCompile>
   432    449         <Optimization>Full</Optimization>
   433    450         <IntrinsicFunctions>true</IntrinsicFunctions>
   434    451         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   435    452         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   436    453         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   459    476         <TargetMachine>MachineX64</TargetMachine>
   460    477       </Link>
   461    478       <Manifest>
   462    479         <VerboseOutput>true</VerboseOutput>
   463    480         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   464    481         <UpdateFileHashes>true</UpdateFileHashes>
   465    482       </Manifest>
   466         -    <PostBuildEvent>
   467         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   468         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   469         -    </PostBuildEvent>
   470    483     </ItemDefinitionGroup>
          484  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          485  +    <BaseConfiguration>Release</BaseConfiguration>
          486  +    <AfterBuildLinkTargets>
          487  +      $(AfterBuildLinkTargets);
          488  +      CopyInteropAssembly;
          489  +    </AfterBuildLinkTargets>
          490  +  </PropertyGroup>
   471    491     <ItemGroup>
   472    492       <ClCompile Include="src\win\AssemblyInfo.cpp">
   473    493         <ExcludedFromBuild>true</ExcludedFromBuild>
   474    494       </ClCompile>
   475    495       <ClCompile Include="src\win\crypt.c">
   476    496         <ExcludedFromBuild>true</ExcludedFromBuild>
   477    497       </ClCompile>

Changes to SQLite.Interop/SQLite.Interop.2012.vcxproj.

   172    172         <DelaySign>true</DelaySign>
   173    173       </Link>
   174    174       <Manifest>
   175    175         <VerboseOutput>true</VerboseOutput>
   176    176         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   177    177         <UpdateFileHashes>true</UpdateFileHashes>
   178    178       </Manifest>
   179         -    <PostBuildEvent>
   180         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   181         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   182         -    </PostBuildEvent>
   183    179     </ItemDefinitionGroup>
          180  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
          181  +    <AfterBuildLinkTargets>
          182  +      $(AfterBuildLinkTargets);
          183  +      SignMixedModeAssembly;
          184  +    </AfterBuildLinkTargets>
          185  +  </PropertyGroup>
   184    186     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   185    187       <ClCompile>
   186    188         <Optimization>Disabled</Optimization>
   187    189         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   188    190         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   189    191         <MinimalRebuild>false</MinimalRebuild>
   190    192         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   216    218         <DelaySign>true</DelaySign>
   217    219       </Link>
   218    220       <Manifest>
   219    221         <VerboseOutput>true</VerboseOutput>
   220    222         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   221    223         <UpdateFileHashes>true</UpdateFileHashes>
   222    224       </Manifest>
   223         -    <PostBuildEvent>
   224         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   225         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   226         -    </PostBuildEvent>
   227    225     </ItemDefinitionGroup>
          226  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
          227  +    <AfterBuildLinkTargets>
          228  +      $(AfterBuildLinkTargets);
          229  +      SignMixedModeAssembly;
          230  +    </AfterBuildLinkTargets>
          231  +  </PropertyGroup>
   228    232     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
   229    233       <ClCompile>
   230    234         <Optimization>Disabled</Optimization>
   231    235         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   232    236         <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   233    237         <MinimalRebuild>false</MinimalRebuild>
   234    238         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   254    258         <TargetMachine>MachineX86</TargetMachine>
   255    259       </Link>
   256    260       <Manifest>
   257    261         <VerboseOutput>true</VerboseOutput>
   258    262         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   259    263         <UpdateFileHashes>true</UpdateFileHashes>
   260    264       </Manifest>
   261         -    <PostBuildEvent>
   262         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   263         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   264         -    </PostBuildEvent>
   265    265     </ItemDefinitionGroup>
          266  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
          267  +    <BaseConfiguration>Debug</BaseConfiguration>
          268  +    <AfterBuildLinkTargets>
          269  +      $(AfterBuildLinkTargets);
          270  +      CopyInteropAssembly;
          271  +    </AfterBuildLinkTargets>
          272  +  </PropertyGroup>
   266    273     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   267    274       <ClCompile>
   268    275         <Optimization>Disabled</Optimization>
   269    276         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   270    277         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   271    278         <MinimalRebuild>false</MinimalRebuild>
   272    279         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   292    299         <TargetMachine>MachineX64</TargetMachine>
   293    300       </Link>
   294    301       <Manifest>
   295    302         <VerboseOutput>true</VerboseOutput>
   296    303         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   297    304         <UpdateFileHashes>true</UpdateFileHashes>
   298    305       </Manifest>
   299         -    <PostBuildEvent>
   300         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   301         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   302         -    </PostBuildEvent>
   303    306     </ItemDefinitionGroup>
          307  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
          308  +    <BaseConfiguration>Debug</BaseConfiguration>
          309  +    <AfterBuildLinkTargets>
          310  +      $(AfterBuildLinkTargets);
          311  +      CopyInteropAssembly;
          312  +    </AfterBuildLinkTargets>
          313  +  </PropertyGroup>
   304    314     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   305    315       <ClCompile>
   306    316         <Optimization>Full</Optimization>
   307    317         <IntrinsicFunctions>true</IntrinsicFunctions>
   308    318         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   309    319         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   310    320         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   338    348         <DelaySign>true</DelaySign>
   339    349       </Link>
   340    350       <Manifest>
   341    351         <VerboseOutput>true</VerboseOutput>
   342    352         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   343    353         <UpdateFileHashes>true</UpdateFileHashes>
   344    354       </Manifest>
   345         -    <PostBuildEvent>
   346         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   347         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   348         -    </PostBuildEvent>
   349    355     </ItemDefinitionGroup>
          356  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
          357  +    <AfterBuildLinkTargets>
          358  +      $(AfterBuildLinkTargets);
          359  +      SignMixedModeAssembly;
          360  +    </AfterBuildLinkTargets>
          361  +  </PropertyGroup>
   350    362     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   351    363       <ClCompile>
   352    364         <Optimization>Full</Optimization>
   353    365         <IntrinsicFunctions>true</IntrinsicFunctions>
   354    366         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   355    367         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   356    368         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   384    396         <DelaySign>true</DelaySign>
   385    397       </Link>
   386    398       <Manifest>
   387    399         <VerboseOutput>true</VerboseOutput>
   388    400         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   389    401         <UpdateFileHashes>true</UpdateFileHashes>
   390    402       </Manifest>
   391         -    <PostBuildEvent>
   392         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   393         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   394         -    </PostBuildEvent>
   395    403     </ItemDefinitionGroup>
          404  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
          405  +    <AfterBuildLinkTargets>
          406  +      $(AfterBuildLinkTargets);
          407  +      SignMixedModeAssembly;
          408  +    </AfterBuildLinkTargets>
          409  +  </PropertyGroup>
   396    410     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
   397    411       <ClCompile>
   398    412         <Optimization>Full</Optimization>
   399    413         <IntrinsicFunctions>true</IntrinsicFunctions>
   400    414         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   401    415         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   402    416         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   425    439         <TargetMachine>MachineX86</TargetMachine>
   426    440       </Link>
   427    441       <Manifest>
   428    442         <VerboseOutput>true</VerboseOutput>
   429    443         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   430    444         <UpdateFileHashes>true</UpdateFileHashes>
   431    445       </Manifest>
   432         -    <PostBuildEvent>
   433         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   434         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   435         -    </PostBuildEvent>
   436    446     </ItemDefinitionGroup>
          447  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          448  +    <BaseConfiguration>Release</BaseConfiguration>
          449  +    <AfterBuildLinkTargets>
          450  +      $(AfterBuildLinkTargets);
          451  +      CopyInteropAssembly;
          452  +    </AfterBuildLinkTargets>
          453  +  </PropertyGroup>
   437    454     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   438    455       <ClCompile>
   439    456         <Optimization>Full</Optimization>
   440    457         <IntrinsicFunctions>true</IntrinsicFunctions>
   441    458         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   442    459         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   443    460         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   466    483         <TargetMachine>MachineX64</TargetMachine>
   467    484       </Link>
   468    485       <Manifest>
   469    486         <VerboseOutput>true</VerboseOutput>
   470    487         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   471    488         <UpdateFileHashes>true</UpdateFileHashes>
   472    489       </Manifest>
   473         -    <PostBuildEvent>
   474         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   475         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   476         -    </PostBuildEvent>
   477    490     </ItemDefinitionGroup>
          491  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          492  +    <BaseConfiguration>Release</BaseConfiguration>
          493  +    <AfterBuildLinkTargets>
          494  +      $(AfterBuildLinkTargets);
          495  +      CopyInteropAssembly;
          496  +    </AfterBuildLinkTargets>
          497  +  </PropertyGroup>
   478    498     <ItemGroup>
   479    499       <ClCompile Include="src\win\AssemblyInfo.cpp">
   480    500         <ExcludedFromBuild>true</ExcludedFromBuild>
   481    501       </ClCompile>
   482    502       <ClCompile Include="src\win\crypt.c">
   483    503         <ExcludedFromBuild>true</ExcludedFromBuild>
   484    504       </ClCompile>

Changes to SQLite.Interop/SQLite.Interop.2013.vcxproj.

   172    172         <DelaySign>true</DelaySign>
   173    173       </Link>
   174    174       <Manifest>
   175    175         <VerboseOutput>true</VerboseOutput>
   176    176         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   177    177         <UpdateFileHashes>true</UpdateFileHashes>
   178    178       </Manifest>
   179         -    <PostBuildEvent>
   180         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   181         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   182         -    </PostBuildEvent>
   183    179     </ItemDefinitionGroup>
          180  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
          181  +    <AfterBuildLinkTargets>
          182  +      $(AfterBuildLinkTargets);
          183  +      SignMixedModeAssembly;
          184  +    </AfterBuildLinkTargets>
          185  +  </PropertyGroup>
   184    186     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   185    187       <ClCompile>
   186    188         <Optimization>Disabled</Optimization>
   187    189         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   188    190         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   189    191         <MinimalRebuild>false</MinimalRebuild>
   190    192         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   216    218         <DelaySign>true</DelaySign>
   217    219       </Link>
   218    220       <Manifest>
   219    221         <VerboseOutput>true</VerboseOutput>
   220    222         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   221    223         <UpdateFileHashes>true</UpdateFileHashes>
   222    224       </Manifest>
   223         -    <PostBuildEvent>
   224         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   225         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   226         -    </PostBuildEvent>
   227    225     </ItemDefinitionGroup>
          226  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
          227  +    <AfterBuildLinkTargets>
          228  +      $(AfterBuildLinkTargets);
          229  +      SignMixedModeAssembly;
          230  +    </AfterBuildLinkTargets>
          231  +  </PropertyGroup>
   228    232     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
   229    233       <ClCompile>
   230    234         <Optimization>Disabled</Optimization>
   231    235         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   232    236         <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   233    237         <MinimalRebuild>false</MinimalRebuild>
   234    238         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   254    258         <TargetMachine>MachineX86</TargetMachine>
   255    259       </Link>
   256    260       <Manifest>
   257    261         <VerboseOutput>true</VerboseOutput>
   258    262         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   259    263         <UpdateFileHashes>true</UpdateFileHashes>
   260    264       </Manifest>
   261         -    <PostBuildEvent>
   262         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   263         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   264         -    </PostBuildEvent>
   265    265     </ItemDefinitionGroup>
          266  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
          267  +    <BaseConfiguration>Debug</BaseConfiguration>
          268  +    <AfterBuildLinkTargets>
          269  +      $(AfterBuildLinkTargets);
          270  +      CopyInteropAssembly;
          271  +    </AfterBuildLinkTargets>
          272  +  </PropertyGroup>
   266    273     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   267    274       <ClCompile>
   268    275         <Optimization>Disabled</Optimization>
   269    276         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   270    277         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   271    278         <MinimalRebuild>false</MinimalRebuild>
   272    279         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   292    299         <TargetMachine>MachineX64</TargetMachine>
   293    300       </Link>
   294    301       <Manifest>
   295    302         <VerboseOutput>true</VerboseOutput>
   296    303         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   297    304         <UpdateFileHashes>true</UpdateFileHashes>
   298    305       </Manifest>
   299         -    <PostBuildEvent>
   300         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   301         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   302         -    </PostBuildEvent>
   303    306     </ItemDefinitionGroup>
          307  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
          308  +    <BaseConfiguration>Debug</BaseConfiguration>
          309  +    <AfterBuildLinkTargets>
          310  +      $(AfterBuildLinkTargets);
          311  +      CopyInteropAssembly;
          312  +    </AfterBuildLinkTargets>
          313  +  </PropertyGroup>
   304    314     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   305    315       <ClCompile>
   306    316         <Optimization>Full</Optimization>
   307    317         <IntrinsicFunctions>true</IntrinsicFunctions>
   308    318         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   309    319         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   310    320         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   338    348         <DelaySign>true</DelaySign>
   339    349       </Link>
   340    350       <Manifest>
   341    351         <VerboseOutput>true</VerboseOutput>
   342    352         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   343    353         <UpdateFileHashes>true</UpdateFileHashes>
   344    354       </Manifest>
   345         -    <PostBuildEvent>
   346         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   347         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   348         -    </PostBuildEvent>
   349    355     </ItemDefinitionGroup>
          356  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
          357  +    <AfterBuildLinkTargets>
          358  +      $(AfterBuildLinkTargets);
          359  +      SignMixedModeAssembly;
          360  +    </AfterBuildLinkTargets>
          361  +  </PropertyGroup>
   350    362     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   351    363       <ClCompile>
   352    364         <Optimization>Full</Optimization>
   353    365         <IntrinsicFunctions>true</IntrinsicFunctions>
   354    366         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   355    367         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   356    368         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   384    396         <DelaySign>true</DelaySign>
   385    397       </Link>
   386    398       <Manifest>
   387    399         <VerboseOutput>true</VerboseOutput>
   388    400         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   389    401         <UpdateFileHashes>true</UpdateFileHashes>
   390    402       </Manifest>
   391         -    <PostBuildEvent>
   392         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   393         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   394         -    </PostBuildEvent>
   395    403     </ItemDefinitionGroup>
          404  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
          405  +    <AfterBuildLinkTargets>
          406  +      $(AfterBuildLinkTargets);
          407  +      SignMixedModeAssembly;
          408  +    </AfterBuildLinkTargets>
          409  +  </PropertyGroup>
   396    410     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
   397    411       <ClCompile>
   398    412         <Optimization>Full</Optimization>
   399    413         <IntrinsicFunctions>true</IntrinsicFunctions>
   400    414         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   401    415         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   402    416         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   425    439         <TargetMachine>MachineX86</TargetMachine>
   426    440       </Link>
   427    441       <Manifest>
   428    442         <VerboseOutput>true</VerboseOutput>
   429    443         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   430    444         <UpdateFileHashes>true</UpdateFileHashes>
   431    445       </Manifest>
   432         -    <PostBuildEvent>
   433         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   434         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   435         -    </PostBuildEvent>
   436    446     </ItemDefinitionGroup>
          447  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          448  +    <BaseConfiguration>Release</BaseConfiguration>
          449  +    <AfterBuildLinkTargets>
          450  +      $(AfterBuildLinkTargets);
          451  +      CopyInteropAssembly;
          452  +    </AfterBuildLinkTargets>
          453  +  </PropertyGroup>
   437    454     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   438    455       <ClCompile>
   439    456         <Optimization>Full</Optimization>
   440    457         <IntrinsicFunctions>true</IntrinsicFunctions>
   441    458         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   442    459         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   443    460         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   466    483         <TargetMachine>MachineX64</TargetMachine>
   467    484       </Link>
   468    485       <Manifest>
   469    486         <VerboseOutput>true</VerboseOutput>
   470    487         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   471    488         <UpdateFileHashes>true</UpdateFileHashes>
   472    489       </Manifest>
   473         -    <PostBuildEvent>
   474         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   475         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   476         -    </PostBuildEvent>
   477    490     </ItemDefinitionGroup>
          491  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          492  +    <BaseConfiguration>Release</BaseConfiguration>
          493  +    <AfterBuildLinkTargets>
          494  +      $(AfterBuildLinkTargets);
          495  +      CopyInteropAssembly;
          496  +    </AfterBuildLinkTargets>
          497  +  </PropertyGroup>
   478    498     <ItemGroup>
   479    499       <ClCompile Include="src\win\AssemblyInfo.cpp">
   480    500         <ExcludedFromBuild>true</ExcludedFromBuild>
   481    501       </ClCompile>
   482    502       <ClCompile Include="src\win\crypt.c">
   483    503         <ExcludedFromBuild>true</ExcludedFromBuild>
   484    504       </ClCompile>

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

   165    165         <DelaySign>true</DelaySign>
   166    166       </Link>
   167    167       <Manifest>
   168    168         <VerboseOutput>true</VerboseOutput>
   169    169         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   170    170         <UpdateFileHashes>true</UpdateFileHashes>
   171    171       </Manifest>
   172         -    <PostBuildEvent>
   173         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   174         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   175         -    </PostBuildEvent>
   176    172     </ItemDefinitionGroup>
          173  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
          174  +    <AfterBuildLinkTargets>
          175  +      $(AfterBuildLinkTargets);
          176  +      SignMixedModeAssembly;
          177  +    </AfterBuildLinkTargets>
          178  +  </PropertyGroup>
   177    179     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   178    180       <ClCompile>
   179    181         <Optimization>Disabled</Optimization>
   180    182         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   181    183         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   182    184         <MinimalRebuild>false</MinimalRebuild>
   183    185         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   209    211         <DelaySign>true</DelaySign>
   210    212       </Link>
   211    213       <Manifest>
   212    214         <VerboseOutput>true</VerboseOutput>
   213    215         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   214    216         <UpdateFileHashes>true</UpdateFileHashes>
   215    217       </Manifest>
   216         -    <PostBuildEvent>
   217         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   218         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   219         -    </PostBuildEvent>
   220    218     </ItemDefinitionGroup>
          219  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
          220  +    <AfterBuildLinkTargets>
          221  +      $(AfterBuildLinkTargets);
          222  +      SignMixedModeAssembly;
          223  +    </AfterBuildLinkTargets>
          224  +  </PropertyGroup>
   221    225     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
   222    226       <ClCompile>
   223    227         <Optimization>Disabled</Optimization>
   224    228         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   225    229         <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   226    230         <MinimalRebuild>false</MinimalRebuild>
   227    231         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   247    251         <TargetMachine>MachineX86</TargetMachine>
   248    252       </Link>
   249    253       <Manifest>
   250    254         <VerboseOutput>true</VerboseOutput>
   251    255         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   252    256         <UpdateFileHashes>true</UpdateFileHashes>
   253    257       </Manifest>
   254         -    <PostBuildEvent>
   255         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   256         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   257         -    </PostBuildEvent>
   258    258     </ItemDefinitionGroup>
          259  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
          260  +    <BaseConfiguration>Debug</BaseConfiguration>
          261  +    <AfterBuildLinkTargets>
          262  +      $(AfterBuildLinkTargets);
          263  +      CopyInteropAssembly;
          264  +    </AfterBuildLinkTargets>
          265  +  </PropertyGroup>
   259    266     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   260    267       <ClCompile>
   261    268         <Optimization>Disabled</Optimization>
   262    269         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   263    270         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   264    271         <MinimalRebuild>false</MinimalRebuild>
   265    272         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   285    292         <TargetMachine>MachineX64</TargetMachine>
   286    293       </Link>
   287    294       <Manifest>
   288    295         <VerboseOutput>true</VerboseOutput>
   289    296         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   290    297         <UpdateFileHashes>true</UpdateFileHashes>
   291    298       </Manifest>
   292         -    <PostBuildEvent>
   293         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   294         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   295         -    </PostBuildEvent>
   296    299     </ItemDefinitionGroup>
          300  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
          301  +    <BaseConfiguration>Debug</BaseConfiguration>
          302  +    <AfterBuildLinkTargets>
          303  +      $(AfterBuildLinkTargets);
          304  +      CopyInteropAssembly;
          305  +    </AfterBuildLinkTargets>
          306  +  </PropertyGroup>
   297    307     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   298    308       <ClCompile>
   299    309         <Optimization>Full</Optimization>
   300    310         <IntrinsicFunctions>true</IntrinsicFunctions>
   301    311         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   302    312         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   303    313         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   331    341         <DelaySign>true</DelaySign>
   332    342       </Link>
   333    343       <Manifest>
   334    344         <VerboseOutput>true</VerboseOutput>
   335    345         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   336    346         <UpdateFileHashes>true</UpdateFileHashes>
   337    347       </Manifest>
   338         -    <PostBuildEvent>
   339         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   340         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   341         -    </PostBuildEvent>
   342    348     </ItemDefinitionGroup>
          349  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
          350  +    <AfterBuildLinkTargets>
          351  +      $(AfterBuildLinkTargets);
          352  +      SignMixedModeAssembly;
          353  +    </AfterBuildLinkTargets>
          354  +  </PropertyGroup>
   343    355     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   344    356       <ClCompile>
   345    357         <Optimization>Full</Optimization>
   346    358         <IntrinsicFunctions>true</IntrinsicFunctions>
   347    359         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   348    360         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   349    361         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   377    389         <DelaySign>true</DelaySign>
   378    390       </Link>
   379    391       <Manifest>
   380    392         <VerboseOutput>true</VerboseOutput>
   381    393         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   382    394         <UpdateFileHashes>true</UpdateFileHashes>
   383    395       </Manifest>
   384         -    <PostBuildEvent>
   385         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   386         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   387         -    </PostBuildEvent>
   388    396     </ItemDefinitionGroup>
          397  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
          398  +    <AfterBuildLinkTargets>
          399  +      $(AfterBuildLinkTargets);
          400  +      SignMixedModeAssembly;
          401  +    </AfterBuildLinkTargets>
          402  +  </PropertyGroup>
   389    403     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
   390    404       <ClCompile>
   391    405         <Optimization>Full</Optimization>
   392    406         <IntrinsicFunctions>true</IntrinsicFunctions>
   393    407         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   394    408         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   395    409         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   418    432         <TargetMachine>MachineX86</TargetMachine>
   419    433       </Link>
   420    434       <Manifest>
   421    435         <VerboseOutput>true</VerboseOutput>
   422    436         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   423    437         <UpdateFileHashes>true</UpdateFileHashes>
   424    438       </Manifest>
   425         -    <PostBuildEvent>
   426         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   427         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   428         -    </PostBuildEvent>
   429    439     </ItemDefinitionGroup>
          440  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          441  +    <BaseConfiguration>Release</BaseConfiguration>
          442  +    <AfterBuildLinkTargets>
          443  +      $(AfterBuildLinkTargets);
          444  +      CopyInteropAssembly;
          445  +    </AfterBuildLinkTargets>
          446  +  </PropertyGroup>
   430    447     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   431    448       <ClCompile>
   432    449         <Optimization>Full</Optimization>
   433    450         <IntrinsicFunctions>true</IntrinsicFunctions>
   434    451         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   435    452         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   436    453         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   459    476         <TargetMachine>MachineX64</TargetMachine>
   460    477       </Link>
   461    478       <Manifest>
   462    479         <VerboseOutput>true</VerboseOutput>
   463    480         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   464    481         <UpdateFileHashes>true</UpdateFileHashes>
   465    482       </Manifest>
   466         -    <PostBuildEvent>
   467         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   468         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   469         -    </PostBuildEvent>
   470    483     </ItemDefinitionGroup>
          484  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
          485  +    <BaseConfiguration>Release</BaseConfiguration>
          486  +    <AfterBuildLinkTargets>
          487  +      $(AfterBuildLinkTargets);
          488  +      CopyInteropAssembly;
          489  +    </AfterBuildLinkTargets>
          490  +  </PropertyGroup>
   471    491     <ItemGroup>
   472    492       <ClCompile Include="src\win\AssemblyInfo.cpp">
   473    493         <ExcludedFromBuild>true</ExcludedFromBuild>
   474    494       </ClCompile>
   475    495       <ClCompile Include="src\win\crypt.c">
   476    496         <ExcludedFromBuild>true</ExcludedFromBuild>
   477    497       </ClCompile>

Changes to SQLite.Interop/SQLite.Interop.Static.2012.vcxproj.

   172    172         <DelaySign>true</DelaySign>
   173    173       </Link>
   174    174       <Manifest>
   175    175         <VerboseOutput>true</VerboseOutput>
   176    176         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   177    177         <UpdateFileHashes>true</UpdateFileHashes>
   178    178       </Manifest>
   179         -    <PostBuildEvent>
   180         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   181         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   182         -    </PostBuildEvent>
   183    179     </ItemDefinitionGroup>
          180  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
          181  +    <AfterBuildLinkTargets>
          182  +      $(AfterBuildLinkTargets);
          183  +      SignMixedModeAssembly;
          184  +    </AfterBuildLinkTargets>
          185  +  </PropertyGroup>
   184    186     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   185    187       <ClCompile>
   186    188         <Optimization>Disabled</Optimization>
   187    189         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   188    190         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   189    191         <MinimalRebuild>false</MinimalRebuild>
   190    192         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   216    218         <DelaySign>true</DelaySign>
   217    219       </Link>
   218    220       <Manifest>
   219    221         <VerboseOutput>true</VerboseOutput>
   220    222         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   221    223         <UpdateFileHashes>true</UpdateFileHashes>
   222    224       </Manifest>
   223         -    <PostBuildEvent>
   224         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   225         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   226         -    </PostBuildEvent>
   227    225     </ItemDefinitionGroup>
          226  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
          227  +    <AfterBuildLinkTargets>
          228  +      $(AfterBuildLinkTargets);
          229  +      SignMixedModeAssembly;
          230  +    </AfterBuildLinkTargets>
          231  +  </PropertyGroup>
   228    232     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
   229    233       <ClCompile>
   230    234         <Optimization>Disabled</Optimization>
   231    235         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   232    236         <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   233    237         <MinimalRebuild>false</MinimalRebuild>
   234    238         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   254    258         <TargetMachine>MachineX86</TargetMachine>
   255    259       </Link>
   256    260       <Manifest>
   257    261         <VerboseOutput>true</VerboseOutput>
   258    262         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   259    263         <UpdateFileHashes>true</UpdateFileHashes>
   260    264       </Manifest>
   261         -    <PostBuildEvent>
   262         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   263         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   264         -    </PostBuildEvent>
   265    265     </ItemDefinitionGroup>
          266  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
          267  +    <BaseConfiguration>Debug</BaseConfiguration>
          268  +    <AfterBuildLinkTargets>
          269  +      $(AfterBuildLinkTargets);
          270  +      CopyInteropAssembly;
          271  +    </AfterBuildLinkTargets>
          272  +  </PropertyGroup>
   266    273     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   267    274       <ClCompile>
   268    275         <Optimization>Disabled</Optimization>
   269    276         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   270    277         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   271    278         <MinimalRebuild>false</MinimalRebuild>
   272    279         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   292    299         <TargetMachine>MachineX64</TargetMachine>
   293    300       </Link>
   294    301       <Manifest>
   295    302         <VerboseOutput>true</VerboseOutput>
   296    303         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   297    304         <UpdateFileHashes>true</UpdateFileHashes>
   298    305       </Manifest>
   299         -    <PostBuildEvent>
   300         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   301         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   302         -    </PostBuildEvent>
   303    306     </ItemDefinitionGroup>
          307  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
          308  +    <BaseConfiguration>Debug</BaseConfiguration>
          309  +    <AfterBuildLinkTargets>
          310  +      $(AfterBuildLinkTargets);
          311  +      CopyInteropAssembly;
          312  +    </AfterBuildLinkTargets>
          313  +  </PropertyGroup>
   304    314     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   305    315       <ClCompile>
   306    316         <Optimization>Full</Optimization>
   307    317         <IntrinsicFunctions>true</IntrinsicFunctions>
   308    318         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   309    319         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   310    320         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   338    348         <DelaySign>true</DelaySign>
   339    349       </Link>
   340    350       <Manifest>
   341    351         <VerboseOutput>true</VerboseOutput>
   342    352         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   343    353         <UpdateFileHashes>true</UpdateFileHashes>
   344    354       </Manifest>
   345         -    <PostBuildEvent>
   346         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   347         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   348         -    </PostBuildEvent>
   349    355     </ItemDefinitionGroup>
          356  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
          357  +    <AfterBuildLinkTargets>
          358  +      $(AfterBuildLinkTargets);
          359  +      SignMixedModeAssembly;
          360  +    </AfterBuildLinkTargets>
          361  +  </PropertyGroup>
   350    362     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   351    363       <ClCompile>
   352    364         <Optimization>Full</Optimization>
   353    365         <IntrinsicFunctions>true</IntrinsicFunctions>
   354    366         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   355    367         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   356    368         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   384    396         <DelaySign>true</DelaySign>
   385    397       </Link>
   386    398       <Manifest>
   387    399         <VerboseOutput>true</VerboseOutput>
   388    400         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   389    401         <UpdateFileHashes>true</UpdateFileHashes>
   390    402       </Manifest>
   391         -    <PostBuildEvent>
   392         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   393         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   394         -    </PostBuildEvent>
   395    403     </ItemDefinitionGroup>
          404  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
          405  +    <AfterBuildLinkTargets>
          406  +      $(AfterBuildLinkTargets);
          407  +      SignMixedModeAssembly;
          408  +    </AfterBuildLinkTargets>
          409  +  </PropertyGroup>
   396    410     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
   397    411       <ClCompile>
   398    412         <Optimization>Full</Optimization>
   399    413         <IntrinsicFunctions>true</IntrinsicFunctions>
   400    414         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   401    415         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   402    416         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   425    439         <TargetMachine>MachineX86</TargetMachine>
   426    440       </Link>
   427    441       <Manifest>
   428    442         <VerboseOutput>true</VerboseOutput>
   429    443         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   430    444         <UpdateFileHashes>true</UpdateFileHashes>
   431    445       </Manifest>
   432         -    <PostBuildEvent>
   433         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   434         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   435         -    </PostBuildEvent>
   436    446     </ItemDefinitionGroup>
          447  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          448  +    <BaseConfiguration>Release</BaseConfiguration>
          449  +    <AfterBuildLinkTargets>
          450  +      $(AfterBuildLinkTargets);
          451  +      CopyInteropAssembly;
          452  +    </AfterBuildLinkTargets>
          453  +  </PropertyGroup>
   437    454     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   438    455       <ClCompile>
   439    456         <Optimization>Full</Optimization>
   440    457         <IntrinsicFunctions>true</IntrinsicFunctions>
   441    458         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   442    459         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   443    460         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   466    483         <TargetMachine>MachineX64</TargetMachine>
   467    484       </Link>
   468    485       <Manifest>
   469    486         <VerboseOutput>true</VerboseOutput>
   470    487         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   471    488         <UpdateFileHashes>true</UpdateFileHashes>
   472    489       </Manifest>
   473         -    <PostBuildEvent>
   474         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   475         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   476         -    </PostBuildEvent>
   477    490     </ItemDefinitionGroup>
          491  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
          492  +    <BaseConfiguration>Release</BaseConfiguration>
          493  +    <AfterBuildLinkTargets>
          494  +      $(AfterBuildLinkTargets);
          495  +      CopyInteropAssembly;
          496  +    </AfterBuildLinkTargets>
          497  +  </PropertyGroup>
   478    498     <ItemGroup>
   479    499       <ClCompile Include="src\win\AssemblyInfo.cpp">
   480    500         <ExcludedFromBuild>true</ExcludedFromBuild>
   481    501       </ClCompile>
   482    502       <ClCompile Include="src\win\crypt.c">
   483    503         <ExcludedFromBuild>true</ExcludedFromBuild>
   484    504       </ClCompile>

Changes to SQLite.Interop/SQLite.Interop.Static.2013.vcxproj.

   172    172         <DelaySign>true</DelaySign>
   173    173       </Link>
   174    174       <Manifest>
   175    175         <VerboseOutput>true</VerboseOutput>
   176    176         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   177    177         <UpdateFileHashes>true</UpdateFileHashes>
   178    178       </Manifest>
   179         -    <PostBuildEvent>
   180         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   181         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   182         -    </PostBuildEvent>
   183    179     </ItemDefinitionGroup>
          180  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
          181  +    <AfterBuildLinkTargets>
          182  +      $(AfterBuildLinkTargets);
          183  +      SignMixedModeAssembly;
          184  +    </AfterBuildLinkTargets>
          185  +  </PropertyGroup>
   184    186     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   185    187       <ClCompile>
   186    188         <Optimization>Disabled</Optimization>
   187    189         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   188    190         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   189    191         <MinimalRebuild>false</MinimalRebuild>
   190    192         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   216    218         <DelaySign>true</DelaySign>
   217    219       </Link>
   218    220       <Manifest>
   219    221         <VerboseOutput>true</VerboseOutput>
   220    222         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   221    223         <UpdateFileHashes>true</UpdateFileHashes>
   222    224       </Manifest>
   223         -    <PostBuildEvent>
   224         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   225         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   226         -    </PostBuildEvent>
   227    225     </ItemDefinitionGroup>
          226  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
          227  +    <AfterBuildLinkTargets>
          228  +      $(AfterBuildLinkTargets);
          229  +      SignMixedModeAssembly;
          230  +    </AfterBuildLinkTargets>
          231  +  </PropertyGroup>
   228    232     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
   229    233       <ClCompile>
   230    234         <Optimization>Disabled</Optimization>
   231    235         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   232    236         <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   233    237         <MinimalRebuild>false</MinimalRebuild>
   234    238         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   254    258         <TargetMachine>MachineX86</TargetMachine>
   255    259       </Link>
   256    260       <Manifest>
   257    261         <VerboseOutput>true</VerboseOutput>
   258    262         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   259    263         <UpdateFileHashes>true</UpdateFileHashes>
   260    264       </Manifest>
   261         -    <PostBuildEvent>
   262         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   263         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   264         -    </PostBuildEvent>
   265    265     </ItemDefinitionGroup>
          266  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|Win32'">
          267  +    <BaseConfiguration>Debug</BaseConfiguration>
          268  +    <AfterBuildLinkTargets>
          269  +      $(AfterBuildLinkTargets);
          270  +      CopyInteropAssembly;
          271  +    </AfterBuildLinkTargets>
          272  +  </PropertyGroup>
   266    273     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
   267    274       <ClCompile>
   268    275         <Optimization>Disabled</Optimization>
   269    276         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   270    277         <PreprocessorDefinitions>WIN32;x64;_DEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_DEBUG_DEFINES);$(INTEROP_EXTRA_DEFINES);$(INTEROP_DEBUG_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
   271    278         <MinimalRebuild>false</MinimalRebuild>
   272    279         <BasicRuntimeChecks>Default</BasicRuntimeChecks>
................................................................................
   292    299         <TargetMachine>MachineX64</TargetMachine>
   293    300       </Link>
   294    301       <Manifest>
   295    302         <VerboseOutput>true</VerboseOutput>
   296    303         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   297    304         <UpdateFileHashes>true</UpdateFileHashes>
   298    305       </Manifest>
   299         -    <PostBuildEvent>
   300         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   301         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Debug\bin\" /D /E /V /I /F /H /Y</Command>
   302         -    </PostBuildEvent>
   303    306     </ItemDefinitionGroup>
          307  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNativeOnly|x64'">
          308  +    <BaseConfiguration>Debug</BaseConfiguration>
          309  +    <AfterBuildLinkTargets>
          310  +      $(AfterBuildLinkTargets);
          311  +      CopyInteropAssembly;
          312  +    </AfterBuildLinkTargets>
          313  +  </PropertyGroup>
   304    314     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   305    315       <ClCompile>
   306    316         <Optimization>Full</Optimization>
   307    317         <IntrinsicFunctions>true</IntrinsicFunctions>
   308    318         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   309    319         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   310    320         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   338    348         <DelaySign>true</DelaySign>
   339    349       </Link>
   340    350       <Manifest>
   341    351         <VerboseOutput>true</VerboseOutput>
   342    352         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   343    353         <UpdateFileHashes>true</UpdateFileHashes>
   344    354       </Manifest>
   345         -    <PostBuildEvent>
   346         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   347         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   348         -    </PostBuildEvent>
   349    355     </ItemDefinitionGroup>
          356  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
          357  +    <AfterBuildLinkTargets>
          358  +      $(AfterBuildLinkTargets);
          359  +      SignMixedModeAssembly;
          360  +    </AfterBuildLinkTargets>
          361  +  </PropertyGroup>
   350    362     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   351    363       <ClCompile>
   352    364         <Optimization>Full</Optimization>
   353    365         <IntrinsicFunctions>true</IntrinsicFunctions>
   354    366         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   355    367         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   356    368         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   384    396         <DelaySign>true</DelaySign>
   385    397       </Link>
   386    398       <Manifest>
   387    399         <VerboseOutput>true</VerboseOutput>
   388    400         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   389    401         <UpdateFileHashes>true</UpdateFileHashes>
   390    402       </Manifest>
   391         -    <PostBuildEvent>
   392         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'==''">"$(FrameworkSDKDir)Bin\sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   393         -      <Command Condition="'$(TargetFrameworkSDKToolsDirectory)'!=''">"$(TargetFrameworkSDKToolsDirectory)sn.exe" -Ra "$(TargetPath)" "$(INTEROP_KEY_FILE)"</Command>
   394         -    </PostBuildEvent>
   395    403     </ItemDefinitionGroup>
          404  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
          405  +    <AfterBuildLinkTargets>
          406  +      $(AfterBuildLinkTargets);
          407  +      SignMixedModeAssembly;
          408  +    </AfterBuildLinkTargets>
          409  +  </PropertyGroup>
   396    410     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
   397    411       <ClCompile>
   398    412         <Optimization>Full</Optimization>
   399    413         <IntrinsicFunctions>true</IntrinsicFunctions>
   400    414         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   401    415         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   402    416         <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   425    439         <TargetMachine>MachineX86</TargetMachine>
   426    440       </Link>
   427    441       <Manifest>
   428    442         <VerboseOutput>true</VerboseOutput>
   429    443         <AssemblyIdentity>$(ProjectName), processorArchitecture=x86, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   430    444         <UpdateFileHashes>true</UpdateFileHashes>
   431    445       </Manifest>
   432         -    <PostBuildEvent>
   433         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   434         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   435         -    </PostBuildEvent>
   436    446     </ItemDefinitionGroup>
          447  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|Win32'">
          448  +    <BaseConfiguration>Release</BaseConfiguration>
          449  +    <AfterBuildLinkTargets>
          450  +      $(AfterBuildLinkTargets);
          451  +      CopyInteropAssembly;
          452  +    </AfterBuildLinkTargets>
          453  +  </PropertyGroup>
   437    454     <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
   438    455       <ClCompile>
   439    456         <Optimization>Full</Optimization>
   440    457         <IntrinsicFunctions>true</IntrinsicFunctions>
   441    458         <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
   442    459         <AdditionalIncludeDirectories>$(INTEROP_INCLUDE_DIRECTORIES);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   443    460         <PreprocessorDefinitions>WIN32;x64;NDEBUG;_WINDOWS;_USRDLL;$(SQLITE_COMMON_DEFINES);$(SQLITE_EXTRA_DEFINES);$(SQLITE_RELEASE_DEFINES);$(INTEROP_EXTRA_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
................................................................................
   466    483         <TargetMachine>MachineX64</TargetMachine>
   467    484       </Link>
   468    485       <Manifest>
   469    486         <VerboseOutput>true</VerboseOutput>
   470    487         <AssemblyIdentity>$(ProjectName), processorArchitecture=amd64, version=$(INTEROP_MANIFEST_VERSION), type=win32</AssemblyIdentity>
   471    488         <UpdateFileHashes>true</UpdateFileHashes>
   472    489       </Manifest>
   473         -    <PostBuildEvent>
   474         -      <Command>XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\$(Platform)\" /D /E /V /I /F /H /Y</Command>
   475         -      <Command Condition="'$(DoesMachineMatchPlatform)' != 'false'">XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\Release\bin\" /D /E /V /I /F /H /Y</Command>
   476         -    </PostBuildEvent>
   477    490     </ItemDefinitionGroup>
          491  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNativeOnly|x64'">
          492  +    <BaseConfiguration>Release</BaseConfiguration>
          493  +    <AfterBuildLinkTargets>
          494  +      $(AfterBuildLinkTargets);
          495  +      CopyInteropAssembly;
          496  +    </AfterBuildLinkTargets>
          497  +  </PropertyGroup>
   478    498     <ItemGroup>
   479    499       <ClCompile Include="src\win\AssemblyInfo.cpp">
   480    500         <ExcludedFromBuild>true</ExcludedFromBuild>
   481    501       </ClCompile>
   482    502       <ClCompile Include="src\win\crypt.c">
   483    503         <ExcludedFromBuild>true</ExcludedFromBuild>
   484    504       </ClCompile>