dotnet / dotnet/runtime

[naot][Android] Assembly.GetEntryAssembly() returns null

Open
#121,209 9 comments 0 reactions 0 assignees View on GitHub
area-NativeAOT-coreclr disabled-test os-android
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

System.Reflection.Tests is failing with:

```
10-30 10:50:05.164 8694 8712 I DOTNET : [FAIL] System.Reflection.Tests.AssemblyTests.GetEntryAssembly
10-30 10:50:05.164 8694 8712 I DOTNET : Assert.NotNull() Failure: Value is null
10-30 10:50:05.164 8694 8712 I DOTNET : at System.Reflection.Tests.AssemblyTests.GetEntryAssembly() + 0x139
10-30 10:50:05.164 8694 8712 I DOTNET : at libSystem.Reflection.Tests!+0x122f2f3
10-30 10:50:05.164 8694 8712 I DOTNET : at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xf3
```

for native AOT on android.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.