Business Central 2024 wave 1 (BC24): app.json can now contain comments

Dynamics 365 Business Central

Hi, Readers.
Dynamics 365 Business Central 2024 wave 1 (BC24) is generally available. More details: General availability: Dynamics 365 Business Central 2024 release wave 1 (BC24)

I will continue to test and share some new features that I hope will be helpful.

In this post, I would like to share a new mini tip, “app.json can now contain comments”. This is not yet documented in the Business Central 2024 release wave 1 (BC24) release plan. But it is mentioned in What’s new: Developer tools (Business Central Launch Event).

What's new: Developer tools

When you start a new AL project, two JSON files; the app.json file and the launch.json file are generated automatically. The app.json file contains information about the extension that you’re building, such as publisher information and specifies the minimum version of base application objects that the extension is built on. Often, the app.json file is referred to as the manifest. More details: JSON files

But all this time, this file does not support comments.

Comments are not permitted in JSON.

PS: Dynamics 365 Business Central: How to quickly comment one or more lines of code in AL – Comment/uncomment Selection

With this wave (BC24), app.json can now contain comments. To view the file without error, Click on {} JSON at the bottom

change the language mode to JSON with Comments


But, please note that this may damage existing CI/CD pipelines, so please test before using.😑

Comments are not recommended inside the manifest file as they can cause interoperability issues with CI/CD pipelines or other integrations.

Give it a try!!!😁

1. launch.json already supports comments.

2. If you want to restore to the original state, you can click Auto Detect.


Hope this will help.

Thanks for reading.



Copied title and URL