I'm trying to run a .NET MVC applciation on my local computer that I got from gihub. When I hit run on Visual Stuido, 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 himself, on the other hand I'm not using any dynamic type, this is being auto generated by .NET's compiler.
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
Do you know have any idea how could I resolve this?
Aucun commentaire:
Enregistrer un commentaire