Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

AppSourceCop Error: The 'application' property should be used instead of explicit dependencies

Posted on by 479

I have tried following the diagnostic fix: In order to fix this diagnostic, you have to replace the dependencies specifed on the 'Base Application' and 'System Application' in the dependencies property by the application property in the app.json of the extension.

AppSourceCop Warning AS0085 - Business Central | Microsoft Docs, (The link from the error)

But still no luck. 

How do I fix this warning? I am trying to deploy to AppSource.

Categories:
  • Verified answer
    Brad_P Profile Picture
    Brad_P 1,540 on at
    RE: AppSourceCop Error: The 'application' property should be used instead of explicit dependencies

    Hi,

    Do not list the base apps in the dependency array of the app.json file. Use the platform and application property instead.

    pastedimage1658511877309v1.png

    "platform": "20.0.0.0",

     "application": "20.0.0.0"

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,768 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,985 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans