robot
2024.10
true
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
Admin Guide
Last updated 2024年10月21日

.NET のトラブルシューティング

インストール時に必要な .NET

説明

Upgrading the MSI installers fails with the following error: "You must install .NET Desktop Runtime to run this application."

潜在的な問題

The .NET runtime installed on your machine may be corrupted.

解決策

Uninstall the .NET runtime from your device and run the installer again.

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

説明

Workflows using specific activity packages fail when executed by 2023.4.0 and newer robots. The following errors are displayed:

  • 「To run this application, you must install missing frameworks for .NET. (このアプリケーションを実行するには、不足している .NET 用のフレームワークをインストールする必要があります。)」

  • 「To run this application, you must install .NET. (このアプリケーションを実行するには、.NET をインストールする必要があります。)」

Impacted activity packages

  • 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

解決策 1

Upgrade the activity packages of the problematic workflows to the latest versions.

解決策 2

Addd an Invoke Code activity at the start of the problematic workflow with the following snippet:

System.Environment.SetEnvironmentVariable("DOTNET_ROOT", System.AppContext.BaseDirectory)System.Environment.SetEnvironmentVariable("DOTNET_ROOT", System.AppContext.BaseDirectory)

解決策 3

Install the .NET Windows runtime or the missing .NET frameworks.

.NET 8 プロジェクトの実行に失敗する

説明

v2024.2 の Studio で構築した Windows プロセスまたはクロスプラットフォーム プロセスを v2023.12 以前の Robot で実行すると、失敗して次のエラーが表示されます。「RemoteException: NU1202: Package <package_name> <version> is not compatible with net6.0-windows7.0 (.NETCoreApp,Version=v6.0). Package <package_name> <version> supports: net8.0-windows7.0 (.NETCoreApp,Version=v8.0).」

潜在的な問題

NuGet tries to resolve a package for .NET 6, whereas your automation was built using .NET 8. Such forward compatibility is not supported.

解決策

Robot を 2024.2 のバージョンにアップグレードします。

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

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