0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【UiPath】「メッセージ ボックス」アクティビティ等で「You must install .NET ...」のエラーが出たら

Posted at

UiPathで「メッセージ ボックス」や「入力ダイアログ」などダイアログ系のアクティビティを使おうとした際、以下のエラーメッセージが出ることがある。

image.png

You must install .NET Desktop Runtime to run this application.

Architecture: x64
App host version: 6.0.26

Would you like to download it now?

Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed

原因としてはメッセージの通り「.NET 6.0 Desktop Runtimeがインストールされていない」ということになるので、案内に従って.NET 6.0 Desktop Runtimeをインストールするか、あるいはパッケージのバージョンを下げる必要がある。

パッケージのバージョンを下げるには

ダイアログ系のアクティビティが含まれているUiPath.System.Activitiesのバージョンを、24.10.7以下にすれば動作するようになる。
具体的な手順は以下の通り。

  1. 「デザイン」タブの「パッケージを管理」をクリック
    image.png

  2. 「プロジェクト依存関係」をクリック

  3. UiPath.System.Activitiesを探してクリック

  4. 「バージョン」のプルダウンから24.10.7以下のバージョンを選ぶ

  5. 「更新」をクリック

  6. 「保存」をクリック

image.png

これでパッケージがダウングレードされ、.NET 6.0 Desktop Runtimeがインストールされていない環境でも「メッセージ ボックス」等が使えるようになるはずだ。

image.png

動作環境

  • Windows 11 Home
  • UiPath Studio 2025.0.167

UiPath.System.Activities25.2.1でエラーとなることを確認し、24.10.7ではエラーとならないことを確認した。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?