Till NAV 2018 CU 7 even if we set property ShowMyCode property to false in app.json we will be able to download source code of extension
This issue is now resolved in NAV 2018 CU8 and now you can not download source code for extension
Stay tuned for more…