Invoke Code Issue

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=, 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.



Do you have the latest Microsoft .NET Framework package installed??

Best Regards

After Installing System.Runtime from nuget packages, the issue is not came again.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.