AL icon indicating copy to clipboard operation
AL copied to clipboard

GetLatestSupportedRuntimeVersion with altool returns incorrect runtime version

Open Arthurvdv opened this issue 8 months ago • 0 comments

1. Describe the bug When executing altool.exe GetLatestSupportedRuntimeVersion 24.0 it returns the value 13.1, where I would expect 13.0.

image

2. To Reproduce

  1. Download the 'AL Language extension for Microsoft Dynamics 365 Business Central' version 13.1.1065068 from the marketplace.
  2. Navigate to the folder 'extension\bin\win32'
  3. Execute the command altool.exe GetLatestSupportedRuntimeVersion 24.0

3. Expected behavior I would expect the result to be 13.0 instead of 13.1, based on the documentation: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-choosing-runtime#currently-available-runtime-versions.

4. Actual behavior

  • Returns Runtime version 13.1 on Platform version 24.0.
  • Returns Runtime version 12.2 on Platform version 23.0.
  • Returns Runtime version 11.1 on Platform version 22.0.

5. Versions:

  • AL Language: 13.1.1065068
  • altool: 13.1.16.16524+a1c2d75fbeb61b677c9166e040a4c3e8eb834ff3
  • Visual Studio Code: not applicable
  • Business Central: not applicable
  • List of Visual Studio Code extensions that you have installed: not applicable

Final Checklist

Please remember to do the following:

  • [x] Search the issue repository to ensure you are reporting a new issue

  • [x] Reproduce the issue after disabling all extensions except the AL Language extension

  • [x] Simplify your code around the issue to better isolate the problem

Arthurvdv avatar Jul 03 '24 14:07 Arthurvdv