Replies: 4 comments 2 replies
-
|
I can do a PR with this, if you think it's a good idea. I believe that if we enabled this via a new setting, AppSourceCop.json will be updated with the released version in the Create Release workflow and committed to the repository. Having the previous app available at compile time, will be the responsibility of the developer (and maybe solved by the localDevEnv script? 🙂). |
Beta Was this translation helpful? Give feedback.
-
|
@jwikman Did you make any progress on this topic? We did customize the update of the AppSourceCop.json upon releasing in Azure Devops / ALOps, and are looking for an alternative in AL-Go. Off-topic: Would be great if the AL team could include the referenced version from the AppSourceCop.json file as part of the downloaded symbol files. This would make them immediately available in VS Code and warn the dev on breaking changes if AppSourceCop is enabled.
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @fvet, No, we have not made any progress here. I do miss the AppSourceCop.json now and then, when PR pipelines fails with errors that should have been caught during development. And your suggestion on auto-downloading previous version symbols is great! |
Beta Was this translation helpful? Give feedback.
-
|
Just catching up to this thread again. Would an extra step in the "Create Release" workflow that updates the version property of your AppSourceCop files be enough as a starting point? @jwikman / @fvet |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
As discussed in the Office Hour, we would like to get support for the AppSourceCop.json file.
You can find docs on that file here: AppSourceCop analyzer - Business Central | Microsoft Learn
In our DevOps solution we updated the
versionin AppSourceCop.json from our release pipeline to the build that we just shipped. This was committed to the repository. This enabled the breaking changes rules of the AppSourceCop, the compiler emitted warnings directly and the developer had to revert the change (or handle in some other way).From what I see in AL-Go, breaking changes are only detected in pipelines. And if you have forgot to remove an old
skipUpgradesetting from the repo, this is omitted totally 😬.In the era of Copilot agents, this feature would be very useful - With the warnings from AppSourceCop, Copilot can revert changes right away instead of waiting for feedback from a pipeline run.
Beta Was this translation helpful? Give feedback.
All reactions