Automatic deployment

This is done through Visual Studio Code with the AL language enabled. It could be done directly through Dynamics 365 Business Central sandbox or in Docker contained sandbox staging environments.

It cannot be done automatically in Dynamics 365 Business Central production tenants.

Deployment can be invoked in different ways, by:

  • Pressing F5
  • Running the command palette: AL:Publish
  • Selecting from the menu bar: Debug | Start Debugging

When the AL language extension is enabled, the deployment command performs the following actions:

  • Builds/rebuilds the extension package (same as doing Ctrl + Shift + B or command pallette AL:Package)

The AL compiler is triggered to parse the syntax for all the relevant files and then build ...

Get Dynamics 365 Business Central Development Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.