Validation of entire program has no errors but while compiling the activities uipath is giving error

Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:

  • Cannot implicitly convert type ‘System.Activities.InArgument’ to ‘System.Activities.InOutArgument’

Suggests to me that you have an invoke workflow activity somewhere that has an InArgument set as an InOutArgument.

Previously it worked with same arguments.I did not added new argument. Please suggest a solution for this

Check your invokes and see which one is failing.

Please share the project where this happens so we can investigate the error.