Delete add-ons

To delete an add-on, you uninstall the NuGet package, containing the add-on. You use the Package Management Console of Visual Studio in the following way:

  1. Open the project whose add-on you want to delete in Visual Studio.
  2. Navigate to TOOLS » Library Package Manager » Package Manager Settings » Package Sources.
  3. Add as Source the folder or the server where your add-on’s .nupkg file is located.
    The add-on NuGet package can be located on your machine or on any server, for example, you can upload the package to nugget.org server.
  4. Navigate to TOOLS » Library Package Manager » Package Manager Console.
  5. In Package source, choose the source that you have added.
  6. In the command line, enter Uninstall-Package <your add-on name>
    For example, enter Uninstall-Package abc
  7. Build your solution.
  8. Restart Sitefinity CMS.

RESULT: When Sitefinity CMS starts, it detects the missing add-on and removes all changes introduced by it, including all content, custom fields, modules, configurations, widget templates, etc.

Transfer the changes to the next environment

To transfer the changes to the next environment from the Continuous delivery process, you transfer the ~\App_Data\Sitefinity\Addons folder to the next environments. This folder contains all installed add-ons and a registry for them - addons_registry.sf.

IMPORTANT: Always deploy the registry file as well. If the registry file is not deployed, when Sitefinity starts in the next environment it will try to automatically generate a new registry based on the existing add-ons. This will lead to mismatch of the Development environment registry and the next environment registry. As a result, the deletion of an add-on will not be deployed.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?