Skip to main content
Business Central forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
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:
Attachments
  • 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

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans