Set new output folder setting for storing app files at AL project build
Important
This content is archived and is not being updated. For the latest documentation, go to What's new or changed in Business Central. For the latest release plans, go to Dynamics 365, Power Platform, and Cloud for Industry release plans.
Enabled for | Public preview | General availability |
---|---|---|
Admins, makers, marketers, or analysts, automatically | Aug 13, 2023 | Oct 2, 2023 |
Business value
By default, when you build AL projects, the output app file is stored in the project folder. However, if you work on multiple apps that aren't in the same workspace and depend on each other, outputting to a shared app folder can be a benefit.
Feature details
In the "al.compilerOptions" settings, you can now use the "outFolder" property to specify which output folder to use when generating an app file as part of building an AL project.
This makes it easier to manage and reuse generated apps in a single location. The AL project in Visual Studio Code will still contain a node for the output file, but the file will then physically be stored outside of the project folder.
Here's an example of saving built app files in "myappfolder" on the user's C drive.
Tell us what you think
Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.