Is this really the version you are looking for? Kentico Xperience 9 Documentation is no longer updated. Use the switcher in the header to choose your product version.
You can uninstall custom modules that were installed via NuGet packages. The uninstallation removes all files and code libraries used by the module and all related database objects.
Note:
To uninstall a custom module from a Kentico project, you need to:
Warning: Uninstalling a module deletes all web parts, form controls and page types that are part of the module. If the site contains pages of the given type or page templates and forms that use the given components, the module uninstallation may cause errors or missing content on the site. Make sure that you replace or remove all occurrences of the given web parts, form controls and page types.
Uninstalling modules on web farms
If your application is running in a , you need to uninstall the module package from the Kentico project for web farm server.
All of the module's files and libraries are now removed from the Kentico project.
To finish the module uninstallation, open your Kentico application in a browser. During the processing of the first request after you uninstalled the module package in Visual Studio, the system automatically removes the module's database objects.
Tip: You can uninstall multiple custom modules from the Kentico solution, and then perform the removal of the database objects using a single request.
You can verify that the module was uninstalled successfully in the Event log application – confirm that the log contains an event with the MODULEUNINSTALLED code (ModuleInstaller as the source) and no related errors. View the event details () for information about the modules that were uninstalled.