Add test which reproduces but in complex framework resolution (#71959)
The problem is if there is a high-level framework which lists its dependencies as for example NETCore.App first and then ASPNET.App. When we reorder the frameworks during resolution we try to put the lowest level last, but the reorder doesn't work if there's a high-level framework which depends on middle one last - as the last resolved framework in that scenario will be the middle one (ASPNET.App) and it will end up last in the list. The code assumes the last framework is the root (NETCore.App) and thus we look for hostpolicy there.
Showing
想要评论请 注册 或 登录