Skip to content

[BUG] The type initializer for 'Akavache.BlobCache' threw an exception. on net6.0-windows10.0.22000.0 #777

Open
@tomasfil

Description

@tomasfil

Describe the bug

After upgrade from NET 5 to NET 6 with the latest version of Akavache 8.1.1 I am getting this error:

System.TypeInitializationException: 'The type initializer for 'Akavache.BlobCache' threw an exception.'

DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies: The specified module could not be found. (0x8007007E)

Changing back to NET 5 makes it work

Steps To Reproduce

  1. Create project

  2. setup
    <TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>

  3. Install akavache

  4. and setup initialization:

Akavache.Registrations.Start("Akavache_install_test");
BlobCache.EnsureInitialized();

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions