dotnet / dotnet/aspnetcore

Improve population of application parts when there's no entry-point assembly

Open
#43,460 4 comments 1 reaction 0 assignees View on GitHub
area-mvc help wanted
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

Currently the application parts population eventually ends up using `Assembly.GetEntryAssembly` which may return null in native hosting scenarios (direct hosting through hostfxr, or IJW/COM). When this happens the population will silently do nothing, which is unexpected.

See https://github.com/dotnet/runtime/issues/73516 for more details on one such scenario

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.