Back
You can use the Ant Migration Toolkit for deleting an apex class and trigger and for that you would need to set up the destructivechange.xml file to look similar to this:
<?xml version="1.0" encoding="UTF-8"?><Package xmlns="http://soap.sforce.com/2006/04/metadata"><types> <members>MyTrigger</members> <name>ApexTrigger</name></types><version>21.0</version></Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>MyTrigger</members>
<name>ApexTrigger</name>
</types>
<version>21.0</version>
</Package>
I will recommend you this salesforce certification course from Intellipaat. This training provides all the required skills and helps you to become a certified salesforce developer!
30.9k questions
32.9k answers
500 comments
665 users