System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Ticket Hash: 02ec01b7c355d1e2fee52c4df6caadc48b2d1e20
Title: .net core 3.1 cannot publish as a single file
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: NuGetPackage Resolution: Overcome_By_Events
Last Modified: 2020-10-29 02:31:48
Version Found In: System.Data.SQLite.Core1.0.113.1
User Comments:
anonymous added on 2020-09-04 10:30:42:

reproduce step:

  1. create a new .net core console app in vs2019

  2. add package System.Data.SQLite.Core as depency

  3. publish the app as a single file, such as

<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121. 
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration>Release</Configuration>
    <Platform>Any CPU</Platform>
    <PublishDir>bin\Release\netcoreapp3.1\publish\</PublishDir>
    <PublishProtocol>FileSystem</PublishProtocol>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <RuntimeIdentifier>linux-x64</RuntimeIdentifier>
    <SelfContained>true</SelfContained>
    <PublishSingleFile>True</PublishSingleFile>
    <PublishTrimmed>False</PublishTrimmed>
  </PropertyGroup>
</Project>

got an error:

System.ArgumentException: Invalid input specification: Found multiple entries with the same BundleRelativePath


mistachkin added on 2020-09-24 22:48:06:

I'm not sure what could be causing this.

How does NuGet handle deploying the native libraries contained within the System.Data.SQLite.Core package?


mistachkin added on 2020-10-29 02:31:48:
This should be fixed by the recent NuGet packaging changes.