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
I noticed that if you are using razor class libs, the controllerActionDescriptor in FeatureViewLocationExpander will be null.
I added
if (controllerActionDescriptor == null)
{
// make sure shared stuff is searched for under the "features" folder
foreach (var location in viewLocations)
{
yield return location.Replace("Pages", "Features");
}
}
so that if a razor class lib would reference views/shared it still would be found. Let me know if you think this is a good idea, then I will make a pr.
The text was updated successfully, but these errors were encountered:
I noticed that if you are using razor class libs, the
controllerActionDescriptor
inFeatureViewLocationExpander
will be null.I added
so that if a razor class lib would reference views/shared it still would be found. Let me know if you think this is a good idea, then I will make a pr.
The text was updated successfully, but these errors were encountered: