Skip to content

libOpenCvSharpExtern.so should be copied to runtimes/linux-x64/native for Ubuntu 22.04 #1682

@chenzhekl

Description

@chenzhekl

Summary of your issue

Distribution specific RID has been deprecated in .Net 8 (https://learn.microsoft.com/en-us/dotnet/core/rid-catalog). We should copy libOpenCvSharpExtern.so to runtimes/linux-x64/native after building, as runtimes/ubuntu.22.04-x64/native won't be automatically searched by .Net 8 anymore

Environment

.Net 8

What did you do when you faced the problem?

Install OpenCVSharp runtime for Ubuntu 22.04 and build the project

Example code:

paste your core code

Output:

paste your output

What did you intend to be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions