I have unit tests and inside them I call a method that eventually calls this line:
DataSourceResult response = lstshiftGroup.ToDataSourceResult(request);
Which throws this exception:
Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
In my test project I have reference of System.Web.Mvc, Version=4.0.0.0 and in my project I have the same assembly.
What is wrong with my test?