dotnet/aspnetcore
在 GitHub 查看Improve population of application parts when there's no entry-point assembly
Open
#43,460 创建于 2022年8月22日
area-mvchelp wanted
仓库指标
- Star
- (37,933 star)
- PR 合并指标
- (平均合并 16天 9小时) (30 天内合并 258 个 PR)
描述
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