Skip to content

A way to disable "sentry-native" #4102

@maxkatz6

Description

@maxkatz6

Problem Statement

We are developing a NativeAOT application. And as for now, native dependencies are linked into the main executable. It also adds additional dependencies to the application, which otherwise are not used.

Normally, it wouldn't be a problem, but we are getting reports from users with less common distributives, like Alt Linux:

/lib64/libcurl.so.4: version `CURL_OPENSSL_4' not found

Sidenote, I haven't found any information on what native dependency does. But I also haven't checked the source code yet.
If sentry-native is used as a cornerstone for sending message, this request might not be worth it. But having a fully managed sentry implementation is still nice.

Solution Brainstorm

MSBuild property like DisableSentryNative would be nice. But I don't know how it affects runtime usage yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions