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
737 stars 243 forks source link

Package cache doesn't support subfolders with .app files #7644

Closed kine closed 5 months ago

kine commented 8 months ago

1. Describe the bug When app files (symbols) are downloaded by another way than by "Download Symbols" action into the package cache folder (e.g. through NuGet packages) and they are placed into subfolders, they are not visible to AL Language extension.

2. To Reproduce

  1. Create project with some code using standard objects
  2. Download symbols
  3. Move one symbol file into new subfolder in the .alpackages folder
  4. Reload VSCode
  5. The compiler will show error like "A package with publisher 'Microsoft', name 'Application', and a version compatible with 'XX.0.0.0' could not be found in the package cache folders: XXXX"

3. Expected behavior .app file (symbol files) should be detected even in subfolders of the package cache folders.

4. Actual behavior .app files (symbols) are detected only directly in the package cache folders.

5. Versions:

NKarolak commented 8 months ago

The issue looks related to #7636 (not identical).