How to force ANEs unpackaging for release build? #791
-
Hello, I'm trying to enforce the unpackaging of ANEs in I found this option: tasks.json ). Copilot cannot figure it out either 😅
Can someone help me a bit on this? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
ANEs are unpackaged by vscode-as3mxml for debug builds only. There is no option to enable unpackaging ANEs for release builds.
This is an option on the asconfigc tool, which is the tool used to build a project based on the options in asconfig.json. By default, asconfigc doesn't unpackage ANEs, and this option asks it to. The option works only for debug builds, though. It will be ignored for release builds. |
Beta Was this translation helpful? Give feedback.
It was intended by design. However, in all my years of working on AIR apps, I've never worked on one that cannot run smoothly in debug. I've heard that debug builds can be a bit slower, but the slowdown has always seemed insignificant or undetectable in my experience.
In most cases, release builds should not unpackage ANEs, so I'm not sure the best way to make it an option.
Yes, I think that would work. If vscode-swf-debug doesn't detect the .as3mxml-unpackaged-anes directory automatically, you can specify the directory in the
extdir
field of your launch.json configuration…