The extension 'XYZ' published by 'ABC' cannot be designed because its manifest property ShowMyCode is set to false.

I am getting the below error while downloading the source from Business Central On-preme instance. Is there any way to update manifest file.

pastedimage1607351354650v1.png

You can update it in app.json = manifest, unless you talk about Extension v.1.

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-security-settings-and-ip-protection

Yes, I didn’t set this property in app.json.The issue I am facing is that I lost my code at the server(only Last week’s changes) and my app is available in the Extensions tab. Is there any PowerShell command or some other option I can use to get app/source code?

You have lost your source code!!!

If you got the App file, then you can try to unzip it and reconstruct your files.

Yes, I’ve lost my code

There is no Powershell command to export an app-file from On-Prem.
But if you setup VSCode so that it point to your server and setup your app as a dependency, then you can download the App file, when you download the Symbols.

And then you may unzip it.

Thanks, [mention:61b2aa9ce72e429baa1ef43208ddbea4:e9ed411860ed4f2ba0265705b8793d05] for your help. It gives me the path to resolve the issue but after download symbols and unzip the ABC.app file, only my tables, queries, and Codeunit metadata available in JSON, not my code. For this, I used visual studio “Go to definition”(F12) functionality for every service and get my updated code published at Business Central.