How to fix app.json could not be found

Ice resente 20 Reputation points
2025-01-28T17:14:10.54+00:00

Hello there seems to be an error in setting up BC to my vscode, Ive only followed the instructions, and when I run it, it returns "app.json could not be found and cannot publish to server"

This question is related to the following Learning Module

Dynamics 365 Training
Dynamics 365 Training
Dynamics 365: A Microsoft cloud-based business platform that provides customer relationship management and enterprise resource planning solutions.Training: Instruction to develop new skills.
163 questions
{count} votes

Accepted answer
  1. Kiran P 6,620 Reputation points Microsoft Vendor
    2025-01-30T04:14:19.2833333+00:00

    Hi Ice resente,

    Please ensure that you have opened the correct AL project folder in Visual Studio Code. If the app.json file is missing, you can regenerate the project by running "AL: Go!" from the command palette (Ctrl + Shift + P). Additionally, check the launch.json file and confirm that the environmentName matches your sandbox name. If necessary, manually create an app.json file with the correct structure, using "AL: Generate GUID" for the ID. After that, download symbols by selecting "AL: Download Symbols" from the command palette. Finally, restart Visual Studio Code and try deploying the project again using Ctrl + F5.

    We checked on our side and found the app.json file. Please see the attached reference screenshot.

    User's image

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.