Cannot define a class or member that utilizes 'dynamic' because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute'
问题 I'm trying to run a .NET MVC application on my local computer that I got from GitHub. When I hit run on Visual Studio, everything complies and a new browser window opens with the error: CS1980: Cannot define a class or member that utilizes 'dynamic' because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute' The compiler section in the same window, shows the following error: I've checked on google and this seems to be the same error. This guy was using a dynamic type