hi
To create an .app file for your Business Central extension, you can follow these steps:
Open Visual Studio Code and go to your project folder.
Press Ctrl+Shift+P (or Command+Shift+P on Mac) to open the command palette.
Type "AL: Package" and press Enter.
Choose a publisher name and enter the version number.
Select "All" or choose the specific artifacts you want to include in the package.
Press Enter and wait for the package to be created.
Once the package is created, the .app file will be generated in the ".\bin\Debug" folder of your project.
You can then share the .app file with your partner, who can use the shell installation procedure to install the extension in their Business Central environment. To do this, they can follow these steps:
Open a command prompt or PowerShell window and navigate to the folder where the Business Central Server instance is installed.
Type the following command to install the extension:
Microsoft.Dynamics.Nav.Apps.Tools.Installer.exe install -sourcePath [path to .app file] -tenant [tenant id] -appId [app id] -version [version number] -overwrite
Replace the placeholders with the actual values for your extension. For example:
Microsoft.Dynamics.Nav.Apps.Tools.Installer.exe install -sourcePath "C:\MyApp\MyApp_1.0.0.0.app" -tenant default -appId MyApp -version 1.0.0.0 -overwrite
Wait for the installation to complete.
Restart the Business Central Server instance.
I hope this helps you create and share the .app file of your Business Central extension.
Daniele