robot
2024.10
true
Admin Guide
Last updated 21 de oct. de 2024

Solución de problemas de .NET

Se requiere .NET durante la instalación

Descripción

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

Posible problema

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

Solución

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

Las actividades no pueden encontrar .NET Runtime

Descripción

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

  • "Para ejecutar esta aplicación, debes instalar los marcos para .NET que falten".

  • "Para ejecutar esta aplicación, debes instalar .NET".

Impacted activity packages

  • UiPath.Form.Activities versión 2.0.x

  • UiPath.IntelligentOCR.Activities

  • UiPath.MobileAutomation.Activities

  • UiPath.Vision

  • UiPath.DocumentUnderstanding.Activities

  • Actividades relacionadas con OCR en el paquete UiPath.UIAutomation.Activities

  • UiPath.OmniPage.Activities

  • UiPath.OCR.activities

Solución 1

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

Solución 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)

Solución 3

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

Los proyectos .NET 8 no se pueden ejecutar

Descripción

Al ejecutar un proceso de Windows o multiplataforma creado utilizando Studio 2024.2, en una versión del robot 2023.12 o posterior, se produce un error con el siguiente error: "RemoteException: NU1202: el paquete no <package_name><version>es compatible con net6.0-windows7.0 (.NETCoreApp,Version=v6.0). El paquete <package_name> <version> es compatible con net8.0-windows7.0(.NETCoreApp,Version=v8.0)."

Posible problema

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

Solución

Actualiza tus robots a la versión 2024.2 .exe.

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.