dotnet/aspnetcore
Vedi su GitHubIf one hosting startup class fails to execute, subsequent hosting startup classes defined in the assembly won't be executed.
Open
#5902 aperta il 1 ago 2017
affected-very-fewarea-hostingarea-networkingbughelp wantedseverity-minor
Metriche repository
- Star
- (37.933 star)
- Metriche merge PR
- (Merge medio 16g 9h) (258 PR mergiate in 30 g)
Descrizione
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.