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
Rakshana Cube84Rakshana Cube84 

Questions on Package creation

Hi All,

Package: When adding components to my package, some related components are automatically adding. For example, if I add a Visualforce page to a package that references a custom controller, the fields which are all referenced in the Apex class is also added.

My requirement: I don't want to add the related components automatically as I have already been added the other components (Fields, Objects) to the package. 
Please, anyone, assist me to find a workaround to this or else let me know how to remove the auto-added components if possible.

Thanks,
Rakshana