Closed TheDenSter closed 5 years ago
I am having the exact same error all of a sudden. And have tried the same "solutions" as the DenSter, also to no avail...
If you don't have the lastest docker image, I think the solution is to pull it to be able to have access to the newer AL Language extension version, or to wait for vscode to download it automaticaly when the extension is released in the market
I had the same problem, solved by:
Open a command prompt
docker inspect yourContainer
Look for the VSIX key, copy the link of the vsix file and paste it in your browser.
You will download the newer version of the vsix you will to install in vscode. After reloading, you'll be able to give 2.2 in the runTime of your app.json
EDIT: According to the AL Language (installed from market place) > Settings > Install another version it is not currently available in the market place
We are currently in the process of releasing a new version of the AL extension to the marketplace that will fix this issue. The one currently available does not work with servers that have been upgraded to CU2. The new AL version should be out soon, but in the meanwhile as @JulienDecottignies mentioned, you can use the AL extension from our docker images.
So, we currently have an Extension with a Dependency (a Library) published on AppSource.
Does this mean that every time the Runtime changes, we have to Update our Extension(s) and Library(ies) to follow?
I discovered later that when you use New-NavContainer, it shows you a link to the vsix as well If you don't have the output of the command at hand, you can always point your browser to your container at port 8080 and it shows the file there as well By the way, after I installed the extension from the vsix and disabled the marketplace version, the marketplace version actually disappeared altogether, and now there is no option to revert back to that one. Previously when I had to use the vsix, the marketplace was still available for me to enable. Anyway, not a big deal, and I am back working with the container :)
I refreshed my sandbox yesterday. When I hit Ctrl+F5 I get the following error message:
VSCode says that the AL extension is the current version, but it seems that the sandbox container is on a newer runtime that the one that the extension supports. When will the AL extension be updated?