UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

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.

大纲

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>]

参数

名称必填用途
<solutionPath>Path to a solution directory (containing .uipx) or a .uis file.

选项

默认描述
--nuget-sources-config-path路径NuGet 源配置文件的路径。
--exclude-configured-sources标记关闭Resolve 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-validity分钟10Minimum minutes before token expiration to trigger a refresh.

示例

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

数据形状(--输出 json)

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

退出代码

请参阅共享合同的退出代码

另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新