Speed up widget development with Sitefinity MCP server. Learn more...

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.

NEW TO SITEFINITY?

Want to learn more?

Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.

Get started with Integration Hub | Sitefinity Cloud

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting your Sitefinity instance and its sites from external threats. 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 ASP.NET Core and take advantage of its decoupled architecture and modern development model.

Was this article helpful?