WoWInterface - View Single Post - Developing for BFA with standalone libraries
View Single Post
07-24-18, 02:48 AM   #2
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 29
I found a solution that works well for me.

I moved the list of files to be included to an xml file and in that one I can use the non-debug tags:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
  <[email protected]@
  <Script file="LibStub\LibStub.lua" />
  <Include file="CallbackHandler-1.0\CallbackHandler-1.0.xml" />
  <Include file="AceAddon-3.0\AceAddon-3.0.xml" />
  @[email protected]>
That way I do not get the annoying errors during development and in the released version they are included as the packer changes the tags so that the lines are not commented out.
  Reply With Quote