Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.67 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.67 KB

TileDB.CSharp

This package provides a C# interface to the TileDB Embedded storage engine.

Usage

After installing the package, see the official documentation and the C# example project to learn how to use it.

Resolving DllNotFoundExceptions

To reduce the download size, the TileDB Embedded native library is downloaded only on RID-specific builds. If you are getting DllNotFoundExceptions that the library tiledb is not found, you have to specify an RID, and you will get a warning if you don't. There are many ways to do it:

  • From the project file:

    Add one of the following properties to your project:

    <PropertyGroup>
        <RuntimeIdentifier>win-x64</RuntimeIdentifier>
        <!-- Use this instead to use the RID of your build machine. -->
        <UseCurrentRuntimeIdentifier>true</UseCurrentRuntimeIdentifier>
    </PropertyGroup>
  • From the .NET CLI:

    When building or publishing a project you can specify the -r <your_rid> option to provide an RID.

Consult the .NET documentation for more information.

Native binaries are provided for the following RIDs, and all that derive from them such as win10-x64 or ubuntu-x64:

  • win-x64
  • linux-x64
  • osx-x64
  • osx-arm64

Patching TileDB Embedded

You can update to a newer patch version of TileDB Embedded by explicitly specifying a version of the TileDB.Native package in your project.