Extension
Hello,
I'm getting an error while pressing F5 i.e. error AL1022: A package with publisher 'Microsoft', name 'System', and a version compatible with '10.0.0.0' could not be found in the package cache folder 'e:\Nav Extension Example\New Folder.alpackages' Error: The package could not be created.
My app.json file is: { "id": "e2c4c4be-87eb-46ea-af54-55ca01e861e2", "name": "New Extension", "publisher": "stanuj", "brief": "", "description": "", "version": "1.0.0.0", "compatibilityId": "1.0.0.0", "privacyStatement": "", "EULA": "", "help": "", "url": "", "logo": "", "capabilities": [], "dependencies": [], "screenshots": [], "platform": "10.0.0.0", "application": { "version": "10.0.0.0", "locale": "W1" }, "idRange": { "from": 50100, "to": 50149 } }
My launch.json file is: { "version": "0.2.0", "configurations": [
{
"type": "al",
"request": "launch",
"name": "stanuj",
"server": "http://localhost:7046/DynamicsNAV100",
"serverInstance": "DynamicsNAV100",
"tenant": "default",
"authentication": "Windows",
"startupObjectId": 22
}
]
}
Please help me to sort out this problem. Thanks in advance.
What happens if you choose "AL: Download symbols" from the Command Palette?
What version of the server are running? The latest version contains symbols with version 11.0.0.0.
I got no errors while downloading reference symbols.
I'm also using latest version with 11.0.0.0, to remove error I only changed it to 10.0.0.0 Please look below image:
What is the content of
'e:\Nav Extension Example\New Folder.alpackages'
contents in this folder are:
It looks like we are constructing a path without the last backslash. Can you retry in a folder structure that doesn't contain spaces?
Hi StanislawStempin,
It contains last backslash after New Folder like 'e:\Nav Extension Example\New Folder.alpackages', while pasting error, unfortunately , it was deleted.
How did you create the environment? Did you use aka.ms/navdeveloperpreview?
Yes, i used aka.ms/navdeveloperpreview. I'm using VS Code to develop it.
Are you still hitting this issue?
No, this is solved. Thanks