microsoft / microsoft/AL

al workspace compile fails with a "Could not locate alc compiler." error

Open
#8,326 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accepted
Dominant language
PowerShell
Stars
881
Forks
285
Avg merge
3d 36m
Merged PRs (30d)
1

Description

1. Describe the bug
al workspace compile returns a "Could not locate alc compiler." error message.

2. To Reproduce
Run "al workspace compile project.code-workspace".

3. Expected behavior
It should compile the workspace.

4. Actual behavior
It throws a "Could not locate alc compiler." error message.

5. Versions:

  • AL Tool version: both '17.0.34.45391, '18.0.40.43394-beta' throw the same error.
  • Operating System:
    • Windows
    • Linux
    • MacOS

Internal work item: AB#647933

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing al workspace compile project.code-workspace on macOS with the listed AL Tool versions, then investigate how the workspace command locates the AL compiler. Done means the command compiles the workspace without the "Could not locate alc compiler." error.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
compilers, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.