→What is this .toc file?
| Line 13: | Line 13: | ||
You need to create a file named <YourAddOnDirectoryName>.toc in "Interface\AddOns\YourAddOnDirectoryName\". | You need to create a file named <YourAddOnDirectoryName>.toc in "Interface\AddOns\YourAddOnDirectoryName\". | ||
This file needs to have two things - an interface keyword with a correct interface number, and the filename of an xml file you want to load. | This file needs to have two things - an interface keyword with a correct interface number, and the filename of an xml file you want to load. However, Blizzard asks that you include at least four lines. | ||
Minimal .toc file contents: | Minimal .toc file contents: | ||
## Interface: 4062 | ## Interface: 4062 | ||
## Title: My Add On | |||
## Description: What my addon does | |||
YourAddOnDirectoryName.xml | YourAddOnDirectoryName.xml | ||