robot
2024.10
true
Admin Guide
Last updated 21 de out de 2024

Solução de problemas do .NET

.NET necessário durante a instalação

Description

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

Problema potencial

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

Solução

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

As atividades não podem encontrar o .NET Runtime

Description

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

  • "Para executar esse aplicativo, você deve instalar estruturas ausentes para o .NET."

  • "Para executar esse aplicativo, você deve instalar o .NET."

Impacted activity packages

  • UiPath.Form.Activities versão 2.0.x

  • UiPath.IntelligentOCR.Activities

  • UiPath.MobileAutomation.Activities

  • UiPath.Vision

  • UiPath.DocumentUnderstanding.Activities

  • Atividades relacionadas ao OCR no pacote UiPath.UIAutomation.Activities

  • UiPath.OmniPage.Activities

  • UiPath.OCR.activities

Solução 1

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

Solução 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)

Solução 3

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

Os projetos do .NET 8 falham ao serem executados

Description

A execução de um processo no Windows ou multiplataforma criado usando o Studio 2024.2, em uma versão 2023.12 do UiPath Robot ou inferior, falha com o seguinte erro: "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)."

Problema potencial

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

Solução

Atualize seus UiPath Robots para a versão 2024.2 .

Esta página foi útil?

Obtenha a ajuda que você precisa
Aprendendo RPA - Cursos de automação
Fórum da comunidade da Uipath
Uipath Logo White
Confiança e segurança
© 2005-2024 UiPath. Todos os direitos reservados.