I have written a publishing feature which creates some site columns, a content type referring these site columns, a master page and some page layouts.
When I deactivate this feature, the site columns, the master page and the page layouts are not getting deleted from their gallery.
What am I doing wrong here?
Should I be writing an event handler for deleting these files? Shoudnt the deactivation take care of it out of the box?