System.Data.SQLite
Ticket Change Details
Not logged in
Overview

Artifact ID: d45e9cdb125e06e7265b5447be68bd278c1e4086
Ticket: 4f1e18abae8a0b81d0000bb5b059632e18d54e23
CopyAlways is used instead of PreserverNewest for ContentSQLiteInteropFiles
User & Date: anonymous 2020-01-07 09:27:23
Changes

  1. foundin changed to: "1.0.109.1"
  2. icomment:
    Hello,
    
    We have an issue when consuming System.Data.SQLite.Core nugget.
    We use :
        <ContentSQLiteInteropFiles>true</ContentSQLiteInteropFiles>
    in our csproj to bundle SQLite.Interop.dll.
    
    Which works, except that it triggers a systematic rebuild of our projects.
    I guess it is due to your target using Always instead of PreserveNewest in the 
    'SQLite Interop Library Content Items' section.
    Cf
        <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    in 
        NuGet/shared/Core/build/System.Data.SQLite.Core.targets 
        (taken from https://system.data.sqlite.org/index.html/artifact/4a60d6cbb08db7b4 )
    
    Changing that line in my local nuget cache fixes the issue.
    
    Regards,
    Ivan
    
  3. login: "anonymous"
  4. mimetype: "text/plain"
  5. private_contact changed to: "884d3b204dfa2d2c2bf2f6078c16cc57c34ff5fe"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to:
    CopyAlways is used instead of PreserverNewest for ContentSQLiteInteropFiles
    
  9. type changed to: "Build_Problem"