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
My app routing works with no problems before adding RouteJs.
When I install RouteJs, the app crashes in the layout where I reference the script with src="@RouteJs.RouteJsHandler.HandlerUrl". The exception is "an item with the same key has already been added"
The text was updated successfully, but these errors were encountered:
found the problem. if you use areas and register routes in a specific area and enter the default area in defaults for a specific route even though you implemented the AreaName getter, MVC will not break but RouteJs will.
So if a route in an area is like this: context.MapRoute("routeName", "route/url/here", new { area = "areaName", controller = "controllerName", action = "actionName" }); RouteJs will break with the exception i mentioned. If you remove the area = "areaName" part works.
My app routing works with no problems before adding RouteJs.
When I install RouteJs, the app crashes in the layout where I reference the script with src="@RouteJs.RouteJsHandler.HandlerUrl". The exception is "an item with the same key has already been added"
The text was updated successfully, but these errors were encountered: