Hi,
Step 1: Navigate to UiRobot.exe
For community edition, navigate to "%localappdata% then “\Local\UiPath\app-18.x.x\UiRobot.exe”
For enterprise edition, navigate to “C:\Program Files (x86)\UiPath\Studio\UiRobot.exe”
Step 2: Copy the source project.json path
example: “D:\Process\CASA_2019\project.json”
Step 3: Copy the destination folder path
example : “D:\Process”
Step 4: Define the package version as per the organization standard
example: “15.03.2019”
Note: version only accepts numeric characters and period “.”
The format M.m.bbbb.rrrrr , where:
M is the major version.
m is the minor version.
bbbb is the build version.
rrrrr is the revision version.
Run the below command and it will create a nuget package with projectname.version.nupkg
cmd : C:\Users\John\AppData\Local\UiPath\app-18.4.2>uirobot.exe -pack “D:\Process\CASA_2019\project.json” -o “D:\Process” -v “15.03.2019”
output : Packed project ‘D:\Process\CASA_2019\project.json’ to ‘D:\Process\CASA_2019.15.03.2019.nupkg’
Note: This packaging command is available from 2018.3 only, previous version robots will not support this.
Thanks
John Felix