Deploying a dependent extension

The dependency to the main extension is declared in the app.json file:

"id": "6d527590-711f-410c-b233-d267d192b13b","name": "SecondExtension","publisher": "DTacconi Inc.","version": "1.0.0.0","dependencies": [    {    "appId": "15ecd2e5-b7a8-4612-ae6f-d722af29c0c0",    "name": "MainExtension",    "publisher": "DTacconi Inc.",    "version": "1.0.0.0"    }],

In the preceding code, we can see that the dependency must define four parameters: the application ID, name, publisher, and version. These are mandatory if we want to define a unique extension target.

Once the dependency in the app.json file is defined, it is mandatory to download the appropriate symbols from the tenant. To perform this action, just run the command palette ...

Get Mastering Microsoft Dynamics 365 Business Central 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.