Robot
v2023.4
バナーの背景画像
Robot ガイド
最終更新日 2024年4月3日

アクティビティが .NET ランタイムを見つけられない

現象

特定のアクティビティ パッケージを使用するワークフローを v2023.4.0 以降のロボットで実行すると、次のいずれかのエラーが発生して失敗します。
  • "To run this application, you must install missing frameworks for .NET."
  • "To run this application, you must install .NET."

影響を受けるアクティビティ パッケージは次のとおりです。

  • UiPath.Form.Activities バージョン 2.0.x
  • UiPath.IntelligentOCR.Activities
  • UiPath.MobileAutomation.Activities
  • UiPath.Vision
  • UiPath.DocumentUnderstanding.Activities
  • UiPath.UIAutomation.Activities パッケージ内の OCR 関連のアクティビティ
  • UiPath.OmniPage.Activities
  • UiPath.OCR.activities

解決方法 A

影響を受けるワークフローのアクティビティ パッケージを、以下のバージョンにアップグレードします。

  • UiPath.Form.Activities 2.0.x -> 2.0.7
  • UiPath.IntelligentOCR.Activities -> 6.9.1
  • UiPath.MobileAutomation.Activities -> 23.4.0
  • UiPath.Vision -> 3.10.1
  • UiPath.DocumentUnderstanding.Activities ->2.2.2
  • OCR related usage from UiPath.UIAutomation.Activities fixed in ->23.4.5
  • UiPath.OmniPage.Activities -> 1.15.0
  • UiPath.OCR.activities -> 3.15.1

解決方法 B

影響があるワークフローの最初に [コードを呼び出し] アクティビティを追加し、「System.Environment.SetEnvironmentVariable("DOTNET_ROOT", System.AppContext.BaseDirectory)」というステートメントを設定します。

解決方法 C

Windows の .NET ランタイム、または必要な .NET のフレームワークをマシンにインストールします。
  • 現象
  • 解決方法 A
  • 解決方法 B
  • 解決方法 C

Was this page helpful?

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