dotnet/aspnetcore

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

Open

#43,460 opened on 2022年8月22日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)C# (10,653 forks)batch import
area-mvchelp wanted

Repository metrics

Stars
 (37,933 stars)
PR merge metrics
 (平均マージ 16d 9h) (30d で 258 merged PRs)

説明

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

コントリビューターガイド