function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CRMScienceKirkCRMScienceKirk 

Component Blacklist for Packages

I have a need where I want to prevent certain components (in this case a few Apex Classes) from ever being included in a Package (unmanaged or managed).  They shouldn't be able to be manually added or added automatically by reference.

Short of naming the classes in the error proof "DontPackageMe" fashion - does anyone have any ideas
ShashankShashank (Salesforce Developers) 
I'm afraid we do not have this feature aas per existing functionality. I see that you created an idea for this. Adding it here for others to refer to and promote: https://success.salesforce.com/ideaView?id=08730000000DoQ9AAK