PaclageManagerCLI.exe returnns Value cannot be null

MRubio
2019-02-26
2019-02-26
  • MRubio - 2019-02-26

    Hello,

    I am using PackageManagerCLI.exe as suggested in the fallowing post l viewtopic.php?t=5458#p9532 l

    I execute the fallowing command to try and install a packet programatically:

    PackageManagerCLI.exe --profile="C:\Users\mrubio\Documents\EmptyStandardProject.project" --install="C:\jenkins\workspace\Codesys-Testing\TestPackage\mmp\build\Opto22-0.3.0.0-codesys.package"
    

    But I get the fallowing message

    Package Manager
    Copyright c 2017-2018 CODESYS GmbH, Copyright c 1994-2016 3S-Smart Software Solutions GmbH. All rights reserved.
    Initializing...
    Value cannot be null.
    

    The error message is not very helpful and I can't find much documentation on this utility so I'm not sure how to get it to work. I might be passing in the wrong value for the --profile parameter since I'm just passing in a project.

    Any help would be useful. I'm just trying to automate the Package installation process to create a test scrip of our CODESYS library we are making.

    Than you

     
  • MRubio - 2019-02-26

    I got an answer in another post

    l viewtopic.php?f=11&t=9556 l

     

Log in to post a comment.