Robot User Guide
Last updated Jul 15, 2024

.NET 8 projects fail to run

Observed behavior

Executing a Windows or a cross-platform process built using Studio 2024.2, on a 2023.12 Robot version or lower, fails with the following error: "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)."

Possible cause

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


Upgrade your Robots to the 2024.2 version.

  • Observed behavior
  • Possible cause
  • Resolution

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.