Ejemplo n.º 1
0
 protected override void ExecuteUninstall(IPackage package)
 {
     // Check if the package is in use before removing it
     if (!_sharedRepository.IsReferenced(package.Id, package.Version))
     {
         base.ExecuteUninstall(package);
     }
 }