A way to built a UIPath solution outside the UIPath Studio


I have a command to create a package as it does in publish functionality but it doesn’t builds before creating it. Here is the command that i am using it.

"UiRobot.exe –pack " + SourceFile + " –o " + DestFolder

But the thing in this that this command doesn’t builds the solution. So, can anyone help me on how to build a solution without using the UIPath.

Thanks A Lot in Advance.