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

Full File path required in New-K2Package #21

Open
claytonwfirth opened this issue Jan 31, 2018 · 1 comment
Open

Full File path required in New-K2Package #21

claytonwfirth opened this issue Jan 31, 2018 · 1 comment

Comments

@claytonwfirth
Copy link

currently the full path including directories is required for the -Path parameter. It would be good to allow just the file name portion of the path to be entered instead.

Currently this is required:
New-K2Package -Path "C:[CURRENT FOLDER]\K2.Common.kspx"

instead
New-K2Package -Path "K2.Common.kspx"

@dudelis
Copy link
Owner

dudelis commented Jan 31, 2018

Here I am just trying to be consistent in a way the K2 OOB module for powershell deployment works. There you need to provide the full path to pnd file and to xml file.
Also, it is not clear where the powershell module and the package itself will be stored. E.g. when I create the packages automatically with the VSTS build, I have the following structure:

  • Folder Assemblies
    --- all dlls
  • Folder PND
    --- the pnd file
  • DB
    -Build.ps1

So my assemblies are in a separate folder and the PND file is in a different one.

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

No branches or pull requests

2 participants