Skip to content

Is AOT supported? #37

Open
Open
@kjpgit

Description

I did dotnet publish with C# AOT, got no warnings. PublishAot=True in csproj.

At runtime, when I call execve():

Unhandled Exception: System.TypeInitializationException: A type initializer threw an exception. To determine which
type, inspect the InnerException's StackTrace property.
---> System.DllNotFoundException: Unable to load shared library 'MonoPosixHelper' or one of its dependencies. In o
rder to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting
the LD_DEBUG environment variable:
MonoPosixHelper.so: cannot open shared object file: No such file or directory
libMonoPosixHelper.so: cannot open shared object file: No such file or directory
MonoPosixHelper: cannot open shared object file: No such file or directory
libMonoPosixHelper: cannot open shared object file: No such file or directory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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