Select to view content in your preferred language

Exporting Release of uncompiled version 2.4

448
1
02-15-2012 07:43 AM
DanielEisenberg
Occasional Contributor
Hi, when trying to export the release build of an application I get the following error:

"One or more warnings were found while building the release version. You may choose to ignore these warnings"

So, following the advice from another post, in the "Additional Compiler Arguments" part of the project properties, I included a "-warnings=false" statement. I also unchecked "Enable Warnings" to cover bases.

This not only doesn't this remove the warnings from the Problems pane, but it also doesn't prevent the error upon release.

The actual warnings are related to:
"widgets.Search:SearchWidget is a module or application that is directly referenced. This will cause widgets.Search:SearchWidget and all of its dependencies to be linked in with widgets.TOC:TOCWidget. Using an interface is the recommended practice to avoid this."

If I could really just ignore the warnings that would be great, but so far I haven't been able to get a release out. A lot of our code has been customized so using the pre-compiled version is not an option. And while I am OK with actionscript, I have no idea how to go about setting up an "interface."
Tags (2)
0 Kudos
1 Reply
DanielEisenberg
Occasional Contributor
After some time-consuming troubleshooting I was able to isolate where the warnings came from. Unsurprisingly, it was from an "import" statement that was left over from something I experimented with months ago, but never actually used. It doesn't cause a problem during debugging so I forgot all about it. The problem was fixed as soon as I commented out the offending line.
0 Kudos