I am aware this question has been asked before as well, but what exactly is the cause of this issue? All we did was convert the project from Windows - legacy to Windows .net.
The value in question has to be ‘UiPath.Core.Generic’ (or an alternative that is flexible) because the asset types may change over the course of the iteration i.e. one asset might be text, next one might be a credential etc.
Thanks for the response, the bot has managed to go past the error displayed in the screenshot. However, I assumed that a generic type would accept any variable - why does this occur in the windows version and not windows legacy?
There are some incompatibilities between Windows-Legacy and Windows project. This may be one of them. FYI, other some incompatibilities are described as the following document.