UiPath Documentation
robot
2024.10
false
Robot 管理ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

アクティビティ フィードを設定する

NuGet.config ファイルの場所、およびサービス モードの Robot とユーザー モードの Robot のアクティビティ フィードを追加または削除する手順。

サービス モードの Robot とユーザー モードの Robot では、使用する NuGet.config ファイルが異なります。

ユーザー モードでインストールされた Robot には 2 つの NuGet.config ファイルがあります。1 つはインストール フォルダー内に、もう 1 つのファイルはユーザー プロファイル フォルダー (%AppData%\NuGet\NuGet.config) 内にあります。

サービス モードでインストールされた Robot は、インストール フォルダー内の NuGet.config ファイルを使用します。

アクティビティ フィードを追加または削除するには、NuGet.config ファイルを次のように更新します。

  1. Notepad++ などのテキスト エディターで NuGet.config ファイルを開きます。

  2. 新しいアクティビティ フィードを追加するには、<packageSources> セクションに新しい <add/> 要素を追加し、名前を key に、フィードのアドレスを value に設定します。

    <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
        <add key="Online Feed" value="https://mycustomfeed.com" />
        <add key="Local Feed" value="C:\local feed" />
    </packageSources>
    <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
        <add key="Online Feed" value="https://mycustomfeed.com" />
        <add key="Local Feed" value="C:\local feed" />
    </packageSources>
    
    注:
    • ローカル フィードとオンライン フィードの両方を追加できます。
    • To ignore HTTP and HTTPS feeds from NuGet.config, add the following line in UiPath.config, under <packageSettings>:
    <add key="skipHttpConfigurationSources" value="true" />
    <add key="skipHttpConfigurationSources" value="true" />
    

    Local and UNC folder sources still work, along with the Orchestrator feed, which the Robot adds at runtime instead of reading it from NuGet.config.

  3. アクティビティ フィードを削除するには、対応する <add/> タグを削除します。

  4. NuGet.config ファイルを保存し、Robot サービスまたはデバイスを再起動します。

Restricting feeds to specific sources​

To drop feeds merged in from the user or machine level and keep only the sources you choose, clear the inherited sources in the Robot installation folder's NuGet.config file before re-adding the ones you want. This file is the highest-priority layer, so changes here take precedence over the NuGet.config files from %AppData% and %ProgramData%.

  1. Open the NuGet.config file in the Robot installation folder.
  2. In the <packageSources> section, add <clear /> as the first element. This discards the sources inherited from %AppData% and %ProgramData%.
  3. Re-add only the sources you want, for example Local, Official, and Nexus.
  4. Leave skipHttpConfigurationSources set to false.
  5. NuGet.config ファイルを保存し、Robot サービスまたはデバイスを再起動します。

For automated installs, apply these changes as a post-install step that overwrites NuGet.config.

  • Restricting feeds to specific sources​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得