sdk
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

開発者ガイド

最終更新日時 2025年10月30日

Adding the external assembly .dll in UiPath Studio

プロジェクトのビルドを試す前に、必ずプロジェクトでエラーがないかテストしてください。

[ビルド ] メニューから [ ソリューションを構築] を選択します。 MathSquareOfSum.dll ライブラリが構築され、以下の場所に保存されるようになりました。

%UserProfile%\source\repos\MathSquareOfSum\MathSquareOfSum\bin\Debug

ライブラリが構築されると、以下に示すメッセージが [ 出力] パネルに表示されます。



Creating the NuGet package

  1. NuGet Package Explorer を起動し、[ Create a new package] (Ctrl + N)をクリックします。 [パッケージのメタデータ ] と [パッケージの 内容] を示す分割ウィンドウが表示されます。後者のセクションにすべての依存関係を追加する必要があります。
  2. [ Package contents ] セクション内を右クリックします。 コンテキスト メニューが表示されます。
  3. Select Add lib folder. Notice a new lib item is created in the Package contents section.
  4. [lib] を右クリックして、[Add Existing File…] を選択します。
  5. 上記で作成した外部アセンブリ (.dll) を読み込みます。 この例では、 MathSquareOfSum.dll ファイルは %UserProfile%\source\repos\MathSquareOfSum\MathSquareOfSum\bin\Debug フォルダーにあります。
  6. ファイルを選択して 、[編集] メニューにアクセスし、[ メタデータの編集] を選択します。 左側のパネルには、編集可能なメタデータ フィールドが表示されます。
  7. カスタム アクティビティをより適切に説明するためにフィールドに入力します。
  8. Fill in the Id field. In our case, it can be UiPath.MathSquare.Activities, where the first value, UiPath, stands for the team which created the package. If no particular team was involved, the first value can be left blank.


  9. Select the green check mark button in the top-left corner of the Package metadata section to save all changes.
  10. [ファイル ] メニューから [名前を付けて保存...] を選択します。エクスプローラー ウィンドウが表示され、新しいファイルの場所を選択できます。
  11. ローカル パッケージが UiPath が保存するフォルダーにファイルを保存します (2021.4 より前のバージョンでC:\Program Files (x86)\UiPath\Studio\Packages するか、バージョン 2021.4 以降 C:\Program Files\UiPath\Studio\Packages )。 UiPath.MathSquare.Activities.1.0.0.nupkg ファイルがパッケージ フォルダー内の UiPath.MathSquare.Activities フォルダーに作成されます。

Loading the NuGet package in Studio

  1. Studio から パッケージ マネージャー にアクセスします。
  2. NuGet パッケージをローカル パッケージ フォルダーに保存しているため、アクティビティは ローカル フィードで利用可能である必要があります。
  3. アクティビティを検索し、[ インストール ]、[ 保存]の順にクリックします。 新しいアクティビティがインストールされ、オートメーション プロジェクトで使用できるようになりました。


  • Creating the NuGet package
  • Loading the NuGet package in Studio

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

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo
信頼とセキュリティ
© 2005-2025 UiPath. All rights reserved.