dotnet/aspnetcore

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

オープン

#43,460 opened on 2022/08/22

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C# (10,653 件のフォーク)batch import
area-mvchelp wanted

Repository metrics

Stars
 (37,933 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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