microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
748 stars 245 forks source link

Unsatisfied dependency error #1786

Closed bachii1010 closed 6 years ago

bachii1010 commented 6 years ago

Hi,

we have added test.app as dependency and we are getting the below error while publishing the app: image

Please suggest us.

Thanks & regards Varun Reddy

atoader commented 6 years ago

What version of the symbols do you have published on the server?

bachii1010 commented 6 years ago

Hi @atoader

What do you mean by server which server it is u mean?

atoader commented 6 years ago

Sorry for the confusion. Let me rephrase: What version of NAV are you using? What version of the AL Language extension are you using? Can you reproduce the problem targetting different servers? Do you have a minimal code sample that reproduces this?

bachii1010 commented 6 years ago

Hi,

We are using NAV 2018 CU2 and the AL extension is 0.12.16641.

i don't have a minimal solution because the error is coming while publishing the entire app .

Please suggest.

atoader commented 6 years ago

Hi! I see that you are using a version of NAV that is in mainstream support. This GitHub repository is dedicated to handling issues and feedback for the latest Developer Preview releases of the AL development tools for Dynamics 365 "Tenerife". Please open a Support Request to CSS through the PartnerSource portal or contact your Service Account Manager (SAM) in the local subsidiary. The CSS team is well suited for helping you reproduce this issue and backporting the eventual fix to your version of NAV.

bachii1010 commented 6 years ago

@atoader

I have checked the same thing in march devpreview update . i got the same error i have described while publishing.

please suggest

StanislawStempin commented 6 years ago

Can you please run the Get-NavAppInfo -SymbolsOnly commandlet on your server and see if Test and System packages with the versions equal or higher to the ones specified in your app,json are present?

bachii1010 commented 6 years ago

@StanislawStempin see below both are same:

image

Please suggest

StanislawStempin commented 6 years ago

Your app.json seems to be the problem. Test and System packages should not be specified in the dependencies element. Instead they are covered by app.json elements:

"platform" : "12.0.0.0"
"test" : "12.0.0.0"

Please try to change the app.json and try again. Have you got this by using the Designer to generate the contents of app.json?

atoader commented 6 years ago

Hi @bachii1010 ! Could you let us know if the previous suggestion worked?

bachii1010 commented 6 years ago

@StanislawStempin @atoader yes the above suggestion is working for me thanks.