UiPath.Python.Activities.PythonScope not working when "targetFramework": "Windows"

UiPath.Python.Activities.PythonScope not working with “targetFramework”: “Windows”. It works fine when “targetFramework”: “Legacy”.

I have written all my code with “targetFramework”: “Windows”, now converting it back to legacy will be a challenge.

Also why should I downgrade and even UIpath is giving me warning that “Windows-legacy compatibility is phased out and no longer be available for new projects”.

CC: ajayyadavcs@gmail.com

Thanks
Ajay

Hello @sugam.srivastava2

Did you try updating the python packages to the latest version?

Thanks

Hi @Rahul_Unnikrishnan, we are using version python 3.8.2.(stable version) and packages installed in uipath are latest version “UiPath.Python.Activities(version 1.6.0)”
It is working in windows-Legacy but not working in windows.

the same issue I came across, any solutions?

Hi @li_Charlie ,

Please install .NET 5 from the below link and try to execute the code again.

.NET5 link

1 Like

thank you very much, the issue has been solved after installing this package :+1: :+1: :+1:

1 Like

@li_Charlie, Any time :slight_smile: