Unable To Publish The Library Due To Validation Error

The library reusable components work fine. While publishing the library, error "* The using alias "A2174563" appeared previously in this namespace* A2174563 is an ambiguous reference between "global namespace" and "global namespace" .

Error Description: It is possible to run the code without any error, whereas the error is thrown while publishing the code.

* Assuming assembly reference 'System.Data.Common, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'UiPath.System.Activities' matches identity 'System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Data.Common', you may need to supply runtime policy .


Root Cause: ​This is commonly caused by Forward Compatibility Issues , meaning that a process developed with the latest version of Studio, cannot be executed by a Robot running on a version older by two major version editions.


Resolution:

  • Upgrade the uipath.sytem.activities to match the version of Studio .