Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue publishing the app in new Container #464

Closed
Bssivivek opened this issue May 24, 2019 · 4 comments

Comments

@Bssivivek
Copy link

commented May 24, 2019

Hi - I used below command to create a container.
New-NavContainer -containerName test -accept_eula -auth NavUserPassword -imageName mcr.microsoft.com/businesscentral/sandbox:us-ltsc2019 -updateHosts

Now, when i use below command to publish the app

Publish-NavContainerApp -appFile “C:\work\Binary Stream Software Inc._Binary Stream Inc Monetization_1.0.4.3.app” -containerName test -install –packageType Extension –skipVerification

I get below error saying, i dont have correct license. I am hoping that i should be able to publish the app with default license (developer)

image

Can some one help me please.

@freddydk

This comment has been minimized.

Copy link
Contributor

commented May 24, 2019

Only if your app is a runtime package.
You can publish the app with the right license and use Get-NavContainerAppRuntimePackage to get a runtime package.

@Bssivivek

This comment has been minimized.

Copy link
Author

commented May 24, 2019

thanks for your quick response freedy.

I use below command to get the runtime package

Get-NAVContainerAppRuntimePackage -containerName MEMRelease -AppName 'Binary Stream Inc Monetization' -Version 1.0.4.3 -ExtensionPath 'C:\Temp\Binary Stream Software Inc._Binary Stream Inc Monetization_1.0.4.3.app

iam getting below error

image

Evrn though my version is correct
image

@freddydk

This comment has been minimized.

Copy link
Contributor

commented May 24, 2019

that error means that there is no parameter called version on that function.
Use help or intellisense to find the parameters.

(hint - it is -appVersion)

@Bssivivek

This comment has been minimized.

Copy link
Author

commented May 28, 2019

@freddydk thanks for your time and help. This issue is resolved. you can close this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.