Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly 'System.Web.Mvc' or one of its dependencies. The located assembly's manifest definition does not match the assembly

I have loaded and run my web project on visual studio 2010 but it through the above error..

I have consumed 2 days on searching and trying different solution on it but it is not being solved.I will be very grateful to you if you will help me. following my web.config

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
 
like image 838
ARC Avatar asked Jan 30 '26 16:01

ARC


1 Answers

Recently had this error popping up when I fiddled with the web.config.

Easiest solution was to get the latest MVC update VIA nuget, after first getting rid of the existing error references.

This page will show you what to type into your Nuget console in Visual Studio. (You can get other versions from here as well if you are not interested in the latest)

Good luck buddy.

like image 166
Terrance00 Avatar answered Feb 01 '26 05:02

Terrance00



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!