แก้ไข

แชร์ผ่าน


AppSourceCop Error AS0100

The 'application' property must be specified in the app.json file.

Description

The 'application' property in the app.json file must be specified on apps targeting the AppSource marketplace.

The application property is used in order to compute the minimum release of Business Central for which your extension will be validated and made available for.

For more information about the computation of the minimum release targeted by an AppSource submission, see Technical Validation Checklist.

For more information about the usage and benefits of the application, see The Microsoft_Application.app File.

How to fix this diagnostic?

In order to fix this diagnostic, you have to specify the application property in the app.json of the extension.

Code example triggering the rule

The app.json file of the extension:

{
  "id": "<some-guid>",
  "name": "My App",
  "publisher": "My Publisher",
  "version": "1.0.0.0"
}

Code example not triggering the rule

The app.json file of the extension:

{
  "id": "<some-guid>",
  "name": "My App",
  "publisher": "My Publisher",
  "version": "1.0.0.0",
  "application": "19.0.0.0",
}

AppSourceCop Analyzer
Get Started with AL
Developing Extensions