UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip solution restore

Syntax and options for `uip solution restore`, which resolves NuGet dependencies for every project in a UiPath solution.

uip solution restore resolves NuGet dependencies for every project in a solution using the authenticated session. It resolves dependencies in place — it does not produce a package. Run it before uip solution pack.

Synopsis

uip solution restore <solutionPath> [--nuget-sources-config-path <path>] [--exclude-configured-sources] [--feed-folder <name>] [--login-validity <minutes>]
uip solution restore <solutionPath> [--nuget-sources-config-path <path>] [--exclude-configured-sources] [--feed-folder <name>] [--login-validity <minutes>]

Arguments

NameRequiredPurpose
<solutionPath>yesPath to a solution directory (containing .uipx) or a .uis file.

Options

LongValueDefaultDescription
--nuget-sources-config-pathpathPath to a NuGet sources configuration file.
--exclude-configured-sourcesflagoffResolve project dependencies only from tenant feeds and --nuget-sources-config-path. Drops the built-in UiPath and nuget.org feeds — a dependency not on those feeds fails to restore.
--feed-foldername or pathResolve project dependencies from this Orchestrator folder's library feed instead of every tenant feed.
--login-validityminutes10Minimum minutes before token expiration to trigger a refresh.

Examples

uip solution restore ./my-solution
uip solution restore ./my-solution

Data shape (--output json)

{
  "Code": "SolutionRestore",
  "Data": {
    "Solution": "my-solution",
    "Status": "Restored"
  }
}
{
  "Code": "SolutionRestore",
  "Data": {
    "Solution": "my-solution",
    "Status": "Restored"
  }
}

Exit codes

See Exit codes for the shared contract.

See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated