Replies: 2 comments 5 replies
-
This would be a better implementation from the current one the exists in DevOps. And is a must for large dependency trees. Two advantages are that the minimum version resolution works out of the box. And secondly you get 4 digits in your version no. Which is what BC expects. I don't think I'll find time the next few weeks but this is has been on my mind for a long time. I have a crude example that worked locally I could upload it here. Maybe it helps. |
Beta Was this translation helpful? Give feedback.
-
Thanks, it is very nice to have this in this thread when we decide to groom this feature. The way I think about this would not be to have individual apps as nuget packages, but the output of one project in AL-Go (which could be one app or multiple apps). In the repo, which uses the app, you would have an appDependencyProbingPath setting, which points to the nuget package and the apps from within the package which are referenced from your app are installed and used. This is the way AL-Go currently handles dependencies between repos (described here: https://freddysblog.com/2022/04/28/structuring-your-github-repositories/). In AL-Go you can then set the updateDependencies setting to true and then your app will be built and tested with the downloaded dependencies - and the actual app version number from these dependencies will replace the version numbers you have in app.json. |
Beta Was this translation helpful? Give feedback.
-
Support for publishing successful builds to nuget and to use nuget for dependencies.
nuget is a package manager which could be used to standardize the way Business Central app dependencies are used across repositories.
Beta Was this translation helpful? Give feedback.
All reactions