The ProcessInstallation()
method runs at application startup and looks through the assemblies in the project for any decorators on classes specifying them as a module.
What I'd suggest doing is totally uninstalling the Nuget package. Verifying the uninstall in Visual Studio by:
- deleting the dynamic routing zip files from this directory
..CMS\App_Data\CMSModules\CMSInstallation\Packages\Installed
- deleting this directory
..CMS\App_Data\CMSModules\DynamicRouting.Kentico
- deleting this file
..\CMS\bin\DynamicRouting.Kentico.Base.dll
- deleting this file
..\CMS\bin\DynamicRouting.Kentico.dll
- deleting this directory
..\CMS\CMSModules\DynamicRouting.Kentico
Then reinstall the Nuget package with the version you want.
I'd also suggest making sure your MVC site is cleaned out and all old references are removed. Similarly to the Xperience site, look for directories/files related to DynamicRouting after you remove the package. Then reinstall the new version.