Yes, the issue of the AL compiler sometimes not compiling the whole solution, leading to missing code when publishing extensions, is a known and common problem in AL development within VS Code. This often occurs with frequent branch switching or external file changes, where the incremental build process gets confused. There's no direct "force full build" button, but the most effective workarounds you already apply, such as deleting the .alpackages
folder and .vscode/rad.json
file before building and publishing, or using "Developer: Reload Window," are necessary steps to force a clean compilation and resolve the issue.
✅ Mark this answer as verified if it helps you.
Sohail Ahmed
2,655
Mansi Soni
1,574
YUN ZHU
1,453
Super User 2025 Season 1