Hello,
I created 2 extensions. Each one has a controller named "HomeController" with their views (Views/Home/Index.cshtml).
When I browse to the first loaded extension => it's working great.
When I browse to the second loaded extensions => NullReferenceException: Object reference not set to an instance of an object (AspNetCore._Views_Home_Index_cshtml+d__0.MoveNext() in Index.cshtml)
If I rename the second controller and the view folder in the second extension to match the controller, it's working.
If I remove the first extension from the extensions folder, it's also working.
I don't know if we should use a new ModuleViewLocationExpander for Razor to load correctly the views.
Thanks
Hello,
I created 2 extensions. Each one has a controller named "HomeController" with their views (Views/Home/Index.cshtml).
When I browse to the first loaded extension => it's working great.
When I browse to the second loaded extensions => NullReferenceException: Object reference not set to an instance of an object (AspNetCore._Views_Home_Index_cshtml+d__0.MoveNext() in Index.cshtml)
If I rename the second controller and the view folder in the second extension to match the controller, it's working.
If I remove the first extension from the extensions folder, it's also working.
I don't know if we should use a new ModuleViewLocationExpander for Razor to load correctly the views.
Thanks