Error CS0029: Unable to implicitly convert type 'System.Activities.InArgument<string>' to 'string' during the publishing of the project in UiPath-Windows Framework

encountering an error during the publishing process of the project. Specifically, I am encountering a compiler error. Interestingly, the project operates as expected without any errors when run in debug mode.

CS0029: Cannot implicitly convert type ‘System.Activities.InArgument’ to ‘string’ in UiPath while publishing the project

Hi @sai_krishna11,

You can check the logs for which xaml the error is coming for. Its related to data type. Additionally, you can also try validating the project or the xaml in question.


This means in your project there is one InArgument declared of type Array. It may not be used in execution hence not giving any error while debugging or run.

Try to Analyze the project.


This should give you the location of the issue.

Ashok :slight_smile: