I am using invoke code, to validate business rules.
When I execute it, sometimes, I am getting the following error:
No compiled code to run
error CS0012: The type ‘System.Attribute’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System.Runtime, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.
I have already imported, System.Runtime assembly.
But still the above issue is appearing and the issue is not coming every time.
Some times it works fine.
Is there any thing which I am missing.