You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you put a @Layout MyLayout directive inside an _Imports.razor and MyLayout.razor is defined in a subfolder of that folder, you end up with something like this:
[Layout(MyLayout)]
public class MyLayout : LayoutBase
{
}
Creating an infinite rendering loop. We don't want to anything at runtime, but we can do something at compile time to detect this scenario.