Most likely the problem is with the MVC version and dll configuration to use.
Be sure to identify all valid MVC DLL versions in the configuration files.
I had the same problem in Visual Studio 2013, the project was updated from MVC 3 to MVC 4, make sure that each config refers to the correct dll versions, and the problem persists.
source
share