dotnet/aspnetcore

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

Open

#43 460 ouverte le 22 août 2022

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)C# (10 653 forks)batch import
area-mvchelp wanted

Métriques du dépôt

Stars
 (37 933 stars)
Métriques de merge PR
 (Merge moyen 16j 9h) (258 PRs mergées en 30 j)

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

Guide contributeur