Question

I opened up the DLL for an ASP.NET MVC 2 project of mine in Reflector, and noticed that there are two references to System.Web.Mvc - one for version 1.0.0.0, and one for 2.0.0.0. I don't seem any references to v1 anywhere in the csproj file, nor in my web.config file, but when I try to run the app I get the error Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

Where would the dependency on v1 be coming from?

Was it helpful?

Solution

You probably have an indirect reference to v1 through a different assembly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top