After publishing package, In assistant we got an error

System.Exception: “NU1202: Package Appsumo_Invoice_details 1.0.3 is not compatible with net6.0-windows7.0 (.NETCoreApp,Version=v6.0). Package Appsumo_Invoice_details 1.0.3 supports: net8.0-windows7.0 (.NETCoreApp,Version=v8.0) NU1202: Package Appsumo_Invoice_details 1.0.3 is not compatible with net6.0-windows7.0 (.NETCoreApp,Version=v6.0) / win10-x64. Package Appsumo_Invoice_details 1.0.3 supports: net8.0-windows7.0 (.NETCoreApp,Version=v8.0)”

Copy error details

The error message indicates that the package “Appsumo_Invoice_details” version 1.0.3 is not compatible with your project’s target framework, which is .NET 6.0 (.NETCoreApp,Version=v6.0).

Find an alternative package

  • Search NuGet for alternative packages that offer similar functionality and are compatible with .NET 6.0.
  • Consider if there are built-in functionalities in .NET 6.0 that can achieve your desired outcome.

Additional Notes:

  • Pls check why the error message mentions Windows7.0 support for the package, check compatible version and asking for Package Appsumo_Invoice_details 1.0.3 supports: net8.0

Hi @mukesh.singh ,

As the error message hows try upgrading your .net version to a supported one or try downgrading your packages inside UiPath that is compatible with current version of installed .net.

@Jagadeesh_Gandikota,

Welcome to the UiPath Community :tada:

It seems the Robot is not compatible with the UiPath studio on which the package is developed.

Check the Studio and Robot compatibility and upgrade/downgrade as per requirement.

Thanks,
Ashok :slight_smile:

@Jagadeesh_Gandikota

Looks like you developed on a higher version and try to deploy or use on a lower version robot

Cheers

Hi,

I have faced similar issue. If you republish the code again in the BOT machine from studio it will work fine. If you don’t have the studio in BOT machine then use the same machine windows version and other compatibility version whatever you have in BOT machine and from their publish the code. It will resolve the error