Why am I getting ‘One or more types required to compile a dynamic expression cannot be found.’?

For what it’s worth, when this happened to me (in a project converted automatically from MVC2 to MVC3), all I had to do was add a project reference to Microsoft.CSharp. In my case the web.config already had the 4.0 references mentioned here, I assume courtesy of the upgrade script.

Leave a Comment