dotnet/aspnetcore

If one hosting startup class fails to execute, subsequent hosting startup classes defined in the assembly won't be executed.

开放

#5,902 创建于 2017年8月1日

 (3 条评论) (0 个反应) (0 位负责人)C# (10,653 个派生)batch import
affected-very-fewarea-hostingarea-networkingbughelp wantedseverity-minor

仓库指标

星标
 (37,933 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

This should probably have a low priority, because I don't know of any real assemblies that define multiple hosting startup classes.

However, the order of attributes returned by Assembly.GetCustomAttributes<HostingStartupAttribute>() can affect whether or not a hosting startup class gets executed or not. It should also be trivial to fix.

贡献者指南