AL icon indicating copy to clipboard operation
AL copied to clipboard

Get-NAVAppRuntimePackage : No published package matches the provided arguments.

Open BartPermentier opened this issue 7 years ago • 6 comments

Describe the bug The Get-NAVAppRuntimePackage doesn't seem to be working.

Get-NAVAppRuntimePackage -Id 9acfa8a0-7159-4791-a575-884a741a2384 -Name 'STST_Core_Tables' -Publisher 'ESC bvba' -Version 1.0.0.0 -Path 'C:\temp\Prosware SmartApp_2.3.4.500_runtime.app' -ServerInstance BC130

To Reproduce Just create an extension in BC CU2 I guess. get-navappinfo gives the following: image

Expected behavior A runtime app should be generated

Screenshots image

Versions:

  • AL Language: 2.1.109895
  • Business Central: BE Dynamics NAV 13.2 (26556)

BartPermentier avatar Mar 19 '19 21:03 BartPermentier

I have the same problem. What makes it strange, is it worked the first time. Then I updated the package and re-published it. Now it cannot make the runtime - same error. This is for Business Central on premise 13.3 (27183) AL 2.1.79379 installed from CU3 visix

davmac1 avatar Apr 08 '19 22:04 davmac1

I found my answer - had published from VS Code. I unpublished it, then republished it with skip verification. Now it created the runtime package. Is there an option in the app.json file or the launch.json to skipverification?

davmac1 avatar Apr 09 '19 00:04 davmac1

Hi! In the last months, we've been working hard on adding new features that increase your productivity and on improving the quality of the tools. Unfortunately, this meant that we were not able to follow up on as many GitHub issues as we have liked. Is this issue still a problem for you? Can you provide a sample project and steps to reproduce the issue? Does it reproduce on the Wave 2 2019 release?

atoader avatar Nov 09 '19 20:11 atoader

I am trying to make a runtime package for the Business Central OnPrem. My app publishes fine from VS Code. I can see it when I open the client and when I run get-navappinfo from PowerShell. But when I run the Get-NAVAppRuntimePackage script it fails and gives me the same thing they were seeing. Get-NavAppInfo

Get-runtimepackage

I am using the onprem:13.5.29483.0-na image. I have not attempted to move this to Wave 2 2019 release as I am trying to do an update for a client.

I was able to do what Davmac1 did. I had to install the .app file manually into my container. I couldn't get the runtime if the extension was installed via VS Code. It worked fine when published with the skipverification flag set. Is there a way to tell VS Code to do the publish with this set?

Srbaxter52 avatar Nov 13 '19 21:11 Srbaxter52

Hi @Srbaxter52 , extensions published from VSCode are published in the tenant scope. You need to specify the tenant ID: See https://github.com/microsoft/AL/issues/5286

atoader avatar Nov 24 '19 18:11 atoader

This issue has been closed because it needs more information and has not had recent activity. Please open a new issue if you believe this has not been resolved and reference the current issue.

atoader avatar Dec 15 '19 13:12 atoader