System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Overview

Artifact ID: f349e45609bdbb5b637c6b44786379c3cbc1ddf3
Ticket: b2c278db3884e37ebda76aeac4ebe8dd45884f8e
Interop files missing during Post-build event (SDK style csproj)
User & Date: anonymous 2019-08-14 12:54:55
Changes

  1. foundin changed to: "1.0.111"
  2. icomment:
    The interop files SQLite.Interop.dll in the x86/x64 subfolders not present during Visual Studio's post-build event in VS 2019. They are placed there (by the build target in System.Data.SQLite.Core.targets?) after the post-build event is finished.
    
    A similar problem was reported and resolved in ticket http://system.data.sqlite.org/index.html/info/f16c93a932
    
    The file System.Data.SQLite.Core.targets contains a list of Visual Studio versions (line 131 ff) where VS 2019 ("16.0") is missing, but I don't know whether this is related.
    
    Build environment
    -----------------
    
    * Win 10 German
    * Visual Studio 2019 (16.2.2)
    * .Net 4.7.2
    
    Example to reproduce
    --------------------
    
    SQLitePostBuild.csproj (contains post-build event that checks for the interop file in debug subfolder, build forced to fail if not found):
    ###
      <Project Sdk="Microsoft.NET.Sdk">
      
        <PropertyGroup>
          <OutputType>Exe</OutputType>
          <TargetFramework>net472</TargetFramework>
        </PropertyGroup>
      
        <ItemGroup>
          <PackageReference Include="System.Data.SQLite" Version="1.0.111" />
        </ItemGroup>
      
        <Target Name="PostBuild" AfterTargets="PostBuildEvent">
          <Exec Command="REM Checks whether the interop file exists during Post-build event.&#xD;&#xA;REM Other files in the output folder (ex. SQLitePostBuild.exe) would be found.&#xD;&#xA;IF EXIST &quot;bin\Debug\net472\x86\SQLite.Interop.dll&quot; (&#xD;&#xA;  exit 0&#xD;&#xA;) ELSE (&#xD;&#xA;  exit 1&#xD;&#xA;)" />
        </Target>
      
      </Project>
    ###
    
    Program.cs (just a minimal hello world):
    
    ###
      namespace SQLitePostBuild
      {
        class Program
        {
          static void Main() => System.Console.WriteLine("Hello SQLite!");
        }
      }
    ###
    
  3. login: "anonymous"
  4. mimetype: "text/plain"
  5. private_contact changed to: "85538d0325fff4d733bd2a239f2a74e2b0a2f841"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to:
    Interop files missing during Post-build event (VS2019)
    
  9. type changed to: "Code_Defect"