Reputation: 699
I'm trying to develop in my sandbox environment, which is at this versions:
Version: ES Business Central 25.3 (Platform 25.2.29913.0 + Application 25.3.28755.30175)
This is my app.json:
{
"id": "97a3ace3-8ba8-4732-af0c-22e1fc6091f8",
"name": "Tracking Central",
"publisher": "ProgramadorBC.es",
"version": "1.0.0.0",
"brief": "",
"description": "Tracking Central es una aplicación que permite a los usuarios realizar un seguimiento de los envíos de sus paquetes.",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "https://programadorbc.es",
"logo": "./Logo/programadorbc.png",
"dependencies": [
{
"id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
"name": "System Application",
"publisher": "Microsoft",
"version": "25.3.28755.29171"
},
{
"id": "f3552374-a1f2-4356-848e-196002525837",
"name": "Business Foundation",
"publisher": "Microsoft",
"version": "25.3.28755.29171"
},
{
"id": "437dbf0e-84ff-417a-965d-ed2bb9650972",
"name": "Base Application",
"publisher": "Microsoft",
"version": "25.3.28755.29242"
}
],
"screenshots": [],
"platform": "25.2.0.0",
"application": "25.3.0.0",
"idRanges": [
{
"from": 53200,
"to": 53249
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": false,
"includeSourceInSymbolFile": false
},
"runtime": "14.0",
"features": ["NoImplicitWith"]
}
When I download symbols I see it's downloading a 25.4 app which is not correct:
This is the version I have installed in my environment:
When I try to compile, it's obviously not working:
Compilation started for project 'Tracking Central' containing '1' files at '10:50:40.512'.
error AL1022: A package with publisher 'Microsoft', name 'System Application', and a version compatible with '25.4.0.0' could not be found in the package cache folders: c:\Users\Adrian\Desktop\OneDrive - programadorbc.es\AA - ProgramadorBC\Tracking Central\.alpackages
error AL1022: A package with publisher 'Microsoft', name 'Base Application', and a version compatible with '25.4.0.0' could not be found in the package cache folders: c:\Users\Adrian\Desktop\OneDrive - programadorbc.es\AA - ProgramadorBC\Tracking Central\.alpackages
error AL1022: A package with publisher 'Microsoft', name 'Business Foundation', and a version compatible with '25.4.0.0' could not be found in the package cache folders: c:\Users\Adrian\Desktop\OneDrive - programadorbc.es\AA - ProgramadorBC\Tracking Central\.alpackages
Compilation ended at '10:50:40.532'.
Error: The package could not be created.
For some reason it's still pointing to 25.4, this is what I've been trying:
How can I force to use the correct version or how to unlock this situation?
Upvotes: 0
Views: 91
Reputation: 699
It might be bugged in an update process by Microsoft, creating a new environment pointing to the newest version allows me coding again:
Upvotes: 0