martonsagi / al-object-designer

AL Object Designer for Dynamics 365 Business Central development
MIT License
39 stars 21 forks source link

Object won't load if outside workspace #72

Open chrischbo opened 3 years ago

chrischbo commented 3 years ago

Hi,

I like to use the Object Designer but if you have your alpackages outside your actual workspace it won't show any objects. Just "Loading.." will be shown. I have my 2 app folders (app & test) in my workspace and use the alpackages for both and put them outside. Settings for alpackage: "al.packageCachePath": "../.alpackages" Is there a way to get it to work or can you implement such a feature?

Kind regards, Christian

bjarkihall commented 3 years ago

I've encountered this too. It seems like including the .alpackages as its own multiroot-workspace works, but it feels kinda weird. Does the Object Designer not use the al.packageCachePath of the workspaces but instead searches for .app files from the root of the workspaces? Or is this related to the extension not being able to access files with "../" in the path or absolute paths?