I just got a 'problem' using the current MvcSiteMapProvider MVC5 (from nuget, upgraded from MVC4). I used to add a routevalue "title" to the RouteValues of DynamicNodes when creating them in my DynamicNodeProvider. This worked fine in the previous version, however no I get an error when attempting this:
An exception of type 'MvcSiteMapProvider.Collections.Specialized.ReservedKeyException' occurred in MvcSiteMapProvider.dll but was not handled in user code
Additional information: The node with key 'someKey' may not add a route value with the key 'title' and value 'someValue' to the RouteValues dictionary because the key is a reserved name. Reserved names are keys that are meant for use internally by MvcSiteMapProvider rather than a dictionary value.
I get the message, I am not supposed to add the "title" as a custom route parameter. However, my complete project uses "{title}" in the route definitions, and I would have to change everything from title to "{id}" (or something else).
Now my question: is it somehow possible to add the custom "title" routevalue to the dynamicnodes anyway? Or is it simply not possible?
Thanks in advance!