Have 2 questions about publishing apps to a Business Central 17 OnPrem installation
I've noticed, that when I'm working with VS Code, and hit F6, the app is publish with Scope: Tenant, and Tenant deffault
But, when I use the powershell command "Publish-NAVApp -ServerInstance bc170..." the Scope is Global, with no tenant
Is it possible to publish to scope: Global from VS Code?
And the next question is, for example I have an app in version 1.0.0.20 published in BC170. When I want to publish the next version, 1.0.0.21, do I have to manually uninstall the previous version, or is there a command to automatically uninstall the old version and publish the new one? Can this update be done from VS Code?
Thanks.