HodorNV / ALOps

ALOps
55 stars 24 forks source link

[Feature Request] AlOpsCompile alternativevsixurl 'latest-preview' #766

Closed DanielGoehler closed 3 weeks ago

DanielGoehler commented 1 month ago

Is your feature request related to a problem? Please describe. Following up on issue #430, we are unable to run custom code analysis tools like BCLinterCop that require the next major version of the AL Language Extension. More details can be found here: BusinessCentral.LinterCop Issue #629. Currently, BCLinterCop only supports the latest marketplace releases of the AL Language Extension, which limits our ability to use these custom code cops effectively.

Describe the solution you'd like I would like ALOps to support an alternative URL parameter for the AL Language Extension, specifically 'latest-preview'. This would allow us to use the latest preview version of the AL Language Extension in our Azure DevOps pipelines, enabling us to run custom code cops like BCLinterCop without any issues.

Describe alternatives you've considered Not using BCLinterCop on Next Major Pipelines.

waldo1001 commented 4 weeks ago

The compiler has a parameter alternativevsixurl. Can you try using it like (in the compile step):

alternativevsixurl: 'Prerelease'
DanielGoehler commented 3 weeks ago

@waldo1001 Thank you. This works. Left side without alternativevsixurl (ALC.exe from NextMajor) and right side with alternativevsixurl: 'Prerelease'. image