Closed sschuh closed 4 months ago
I had the same issue, and it was a typo within the app.json file. I found it by looking at the git pending changes. The app.json was like this:
Removing the typo: "F" got rid of the error. I replicated it by putting it back, and I got the same error again with a delayed loading workspace dialog.
I hope that helps.
Hi,
thanks for the suggestion. I double checked my app.json's and can not find any typo or special characters.
If needed for analysis i will send my app.json's in here.
Hi @sschuh
I have tried this a few times on the latest 24.x and I have no repro. Do you have an active workspace? In other words do you have any AL file, or the app.json opened with keyboard focus on when you have opened your workspace?
Hi,
nothing opened.
Version: v14.0.951286 (pre-release)
The error comes before the loading of the workspace. After i open the app.json in the app-Folder, the process starts loading:
Same here when opening workspace files (no active editor / file opened)
Name: AL Language extension for Microsoft Dynamics 365 Business Central Id: ms-dynamics-smb.al Description: Development tools for Dynamics 365 Business Central Version: 14.0.951286 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al
When packaging the app, I then get below output
[Error - 11:51:07 PM] No active project was found. Make sure to select a project in the VS Code Explorer.
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 25.0.17048.0 and VS Code Extension Version 14.0.954663.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://freddysblog.com/2020/06/25/working-with-artifacts/
@JesperSchulz
Any chance on backporting this to the current 13.x vsix? I'm running the latest released version (13.0.964488) and now encounter this issue, resulting in not being able to 'package' my apps in a multi project workspace.
[Error - 8:53:38 AM] No active project was found. Make sure to select a project in the VS Code Explorer.
I am affected only since updating to AL 13.0. Workaround: Before you close VS Code, close all AL files (others like .json or the AL Explorer seem to be fine), so that on starting (not reloading) VS Code, there are no open AL files.
If the BusinessCentral.LinterCop extension is installed, update it (see also https://github.com/StefanMaron/BusinessCentral.LinterCop/issues/568#issuecomment-2006595133).
@JesperSchulz
Any chance on backporting this to the current 13.x vsix? I'm running the latest released version (13.0.964488) and now encounter this issue, resulting in not being able to 'package' my apps in a multi project workspace.
[Error - 8:53:38 AM] No active project was found. Make sure to select a project in the VS Code Explorer.
@qutreson, would that be doable?
This fix has been backported to version 13 and will be part of the next release of the AL extension for VS code.
1. Describe the bug Everytime i open a workspace i get the following error message.
[Error - 9:41:18 AM] Sending notification workspace/didChangeConfiguration failed
2. To Reproduce Open a workspace file.
3. Expected behavior No error message :(
4. Actual behavior Error message.
5. Versions:
AL Language: v13.0.937154 (pre-release)
Visual Studio Code: Version: 1.86.0 (user setup) Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:28:19.990Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22621
Business Central: BC23.4
List of Visual Studio Code extensions that you have installed: