title: Cannot define a class or member that utilizes 'dynamic' because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute'
body: <p>I'm trying to run a .NET MVC application on my local computer that I got from GitHub.</p>
  
  <p>When I hit run on Visual Studio, everything complies and a new browser window opens with the error:</p>
  
  <blockquote>
    <p>CS1980: Cannot define a class or member that utilizes 'dynamic' because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute'</p>
  </blockquote>
  
  <p>The compiler section in the same window, shows the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/RsPLI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RsPLI.png" alt="enter image description here"></a></p>
  
  <p>I've checked on google and <a href="https://stackoverflow.com/questions/5190189/cannot-define-class-or-member-that-utilizes-dynamic-because-the-compiler-require">this</a> seems to be the same error.</p>
  
  <p>This guy was using a dynamic type himself, on the other hand I'm not using any dynamic type, this is being auto generated by .NET's compiler, and I'm using .net 4.5 which should has support for dynamics.</p>
  
  <p>I tried to apply the same solution (Changing all System.Core references to 4.0) 
  but the thing is that all of them are version 4.0 already.</p>
  
  <p>Do you have any idea how could I resolve this?</p>