Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Error when publishing Extensions NAVApp #86

Open
germanalbertosanchez2019 opened this issue Feb 4, 2020 · 2 comments
Open

Error when publishing Extensions NAVApp #86

germanalbertosanchez2019 opened this issue Feb 4, 2020 · 2 comments

Comments

@germanalbertosanchez2019

Hello,
I'm trying to publish:

PS C:\Windows\system32> Publish-NAVApp -ServerInstance BC140 - Path 'C:Users\GrupoMas\Desktop\GRUPO MAS SRL_Localization for Argentina Zitro_1.2019.11.119.app' -SkipVerification

And I'm getting this error:

Publish-NAVApp : Cannot validate argument on parameter 'PackageType'. The argument "C:Users\GrupoMas\Desktop\GRUPO MAS
SRL_Localization for Argentina Zitro_1.2019.11.119.app" does not belong to the set "Extension,SymbolsOnly" specified
by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
At line:1 char:45

  • ... C140 - Path 'C:Users\GrupoMas\Desktop\GRUPO MAS SRL_Localization for ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Publish-NAVApp], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishN
      avApp

Could anyone help me? Thank you!

@MuriungiMartin
Copy link

Did you find the solution? I'm facing the same error

@MuriungiMartin
Copy link

Hello. Remove the space between - and Path. should be "-Path" instead of "- Path". Hope this helps. Worked out for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants