Hello,
I have encountered another strange error hwhile porting Umbrato7 to v8.
Can not get Current.Config during composition. Use composition.Config
What is the most curious about this error is that we don't explicitly use Current.Config in our code, and the error is thrown while registering routes in IUserComposer:
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.svc");
routes.IgnoreRoute("{resource}.svc/{*pathInfo}");
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
MvcHealthCheckŠ”onfigurator.GetInstance().ConfigureEndpoint(routes, "probe");
routes.MapMvcAttributeRoutes(); //error is thrown here
}
Can not get Current.Config during composition
Hello, I have encountered another strange error hwhile porting Umbrato7 to v8.
What is the most curious about this error is that we don't explicitly use
Current.Config
in our code, and the error is thrown while registering routes inIUserComposer
:is working on a reply...