public function buildPackageCmd(ServiceDefinition $serviceDefinition, $outputDir, $isDevFabric)
    {
        $args = array(
            $this->getAzureSdkBinaryFolder() . 'cspack.exe',
            $serviceDefinition->getPath()
        );
        foreach ($serviceDefinition->getWebRoleNames() as $roleName) {
            $args[] = $this->getRoleArgument($roleName, $serviceDefinition);
        }
        foreach ($serviceDefinition->getWorkerRoleNames() as $roleName) {
            $args[] = $this->getRoleArgument($roleName, $serviceDefinition);
        }
        $args[] = sprintf('/out:%s', $outputDir);
        
        if ($isDevFabric) {
            $args[] = '/copyOnly';
        }
        
        return $args;
    }