dotnet/aspnetcore
Vedi su GitHubImprove population of application parts when there's no entry-point assembly
Open
#43.460 aperta il 22 ago 2022
area-mvchelp wanted
Metriche repository
- Star
- (37.933 star)
- Metriche merge PR
- (Merge medio 16g 9h) (258 PR mergiate in 30 g)
Descrizione
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