How to fix exception "Failed to initialize CoreCLR, HRESULT: 0x80004005"

Alexander Pinchuk 0 Reputation points
2023-03-24T10:28:25.2333333+00:00

Hi!
I have OS Linux 4.18.0-348.12.2.el8_5.x86_64 x86_64, rocky
I published my project with target platform linux-x64,
file [PROJECT_NAME].deps.json begins with:

"runtimeTarget": {
    "name": ".NETCoreApp,Version=v2.2/linux-x64",
    "signature": ""
  },

I download .net sdk 2.2.100, 2.2.207, 3.1.426, tried run process with "dotnet [PROJECT_NAME].dll"
and I received in terminal "Failed to initialize CoreCLR, HRESULT: 0x80004005"
I surfed internet, found solution to check permissions for folder /tmp, all permissions is available

I don't know what to do, please help me
Thanks!

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,118 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ali Benchaaban 85 Reputation points
    2023-03-24T12:10:18.7466667+00:00

    Hello @Alexander Pinchuk

    Refer to this issue on github https://github.com/dotnet/runtime/issues/3168

    BENCHAABAN Ali

    0 comments No comments