I want to add Microsoft report (RDLC) to a MVC5 web application on Visual Studio 2013. But before selecting DataSet, I got the following error
Could not load file or assembly ‘System.Web.Mvc, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies. The system cannot find the file specified.
I already check all suggested solutions about this error message on other professional websites. But, non of them is work. Please help me to solve it.
It seems like .Net framework, error , try to uninstall and re-install .Net
It is dumbest solution which I heard until now! It is completely works based on MVC 4. Some of MSDN developers offer disappointing solutions.
Is there any solution for MVC5?
Problem is solved! In this case, there were some conflicts between DLLs. You have to clean your solution and make some of libraries as local resource. You can set
Local Copy=true for System.Web.MVC and System.Web.Razor libraries. In the worst, you have create new solution and clean the project.