Compilation error in UiPath 2020.6 beta 93

While compiling a project using DU framework, it’s throwing error-
System.IEquatable is defined in an assembly that is not referenced. Pls suggest.

Hi @abhisek.adak ,
First of all unfortunately this is runtime error. Not Compilation error.
This problem occurs when you use lamda expression or runtime assignations (ex: MyArray.First() etc.).
Bad solution is to use Invoke Code activity instead kind of operations.
For example I want to get pdf attachments from email. First I give input email value as emails.First() which gives error as in the picture below.
But If I change the input as emails[0] then there will not be any error.