DynamicAttribute cannot be found

Cannot define a class or member that utilizes "dynamic" because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute' cannot be found.

Possible Solutions

This error is a red herring. Many times this error is caused due to an issue in the connection string found in the web.config file.