robot
2024.10
true
Admin Guide
Last updated 21. Okt. 2024

Fehlerbehebung für .NET

.NET während der Installation erforderlich

Beschreibung

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

Mögliches Problem

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

Lösung

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

Aktivitäten können .NET-Runtime nicht finden

Beschreibung

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

  • „Um diese Anwendung auszuführen, müssen Sie fehlende Frameworks für .NET installieren.“

  • „Um diese Anwendung auszuführen, müssen Sie .NET installieren.“

Impacted activity packages

  • UiPath.Form.Activities version 2.0.x

  • UiPath.IntelligentOCR.Aktivitäten (UiPath.IntelligentOCR.Activities)

  • UiPath.MobileAutomation.Activities

  • UiPath.Vision

  • UiPath.DocumentUnderstanding.Activities

  • OCR-bezogene Aktivitäten im UiPath.UIAutomation.Activities-Paket

  • UiPath.Omnipage.Activities

  • UiPath.OCR.activities

Lösung 1

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

Lösung 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)

Lösung 3

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

.NET 8-Projekte können nicht ausgeführt werden

Beschreibung

Das Ausführen eines Windows- oder plattformübergreifenden Prozesses, der mit Studio 2024.2 auf einer Roboter-Version von 2023.12 oder niedriger erstellt wurde, schlägt mit dem folgenden Fehler fehl: „RemoteException: NU1202: Package <Name_des_Pakets> <Version> is not compatible with net6.0-windows7.0 (.NETCoreApp,Version=v6.0). Package <Name_des_Pakets> <Version> supports: net8.0-windows7.0 (.NETCoreApp,Version=v8.0)."

Mögliches Problem

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

Lösung

Aktualisieren Sie Ihre Roboter auf Version 2024.2  

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White
Vertrauen und Sicherheit
© 2005–2024 UiPath. Alle Rechte vorbehalten