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
722 stars 242 forks source link

AL: Go! does not set platform in app.json #7638

Closed NKarolak closed 3 months ago

NKarolak commented 6 months ago

1. Describe the bug AL: Go! does not set the platform property according to the target platform.

2. To Reproduce Steps to reproduce the behavior:

  1. Hit F1, then AL: Go!.
  2. Choose the latest target platform version, e.g. 12.0.
  3. Open the app.json and check the platform property.

3. Expected behavior The platform property should be set dynamically, just as the application and runtime already are. See also example from standard code: version 24.0.0.0 is used.

4. Actual behavior App.json:

  "platform": "1.0.0.0",

Or maybe there is a good reason to choose 1 as the minimum value? The docs are totally unclear about which value to choose (the Symbol link does not point to the right content, it seems): image

5. Versions:

NKarolak commented 6 months ago

It seems the docs article above is supposed to forward to this link: https://learn.microsoft.com/en-us/dynamics365/business-central/application/system/module/system. I think I know now how to fix the docs ... However, the AL: Go! issue is still open ;-)

thloke commented 3 months ago

We have internally discussed this issue and have decided not to accept this issue to be fixed at the moment to prioritize other issues. Thank you for raising this concern.

If you do need the newer version of the platform, then you can specify that.