A package error occurs when the process is run on the robot. In UiPath Studio, the following error message is displayed regarding the package System.Activities:
"NU1103: Unable to find a stable package System.Activities with version
- Found 2 version(s) in [Official Package Source]
- Found 0 version(s) in Local
- Found 0 version(s) in [Other Listed Package Sources]"
Resolution:
-
Investigate the packages or custom libraries that contains the System.Activities dependency and check that the dependency is resolved or that the version of all occurrences of the dependency is consistent throughout the project.
-
If a custom package contains indeed the dependency of the error, look for updates or patches for that custom package. If updates are not found, try removing the package or library and verify if the issue persists.
-
Verify that the NuGet.Config file is correctly configured with the appropriate package sources. The file can be found in the C:\Users\Your_User\AppData\Roaming\NuGet directory and also, in the root directory of the project. Appropriate package sources are the ones acknowledged by UiPath, like Official, Local or other listed sources. Confirm that the required version of System.Activities is available on these sources as per the UiPath Documentation.
-
Ensure that the machine has internet connection to access external package sources. Also, check that there are no restrictions or permissions preventing the download of the necessary packages.