i am facing strange issue with my unit tests and Kendo.Mvc.
My test consist of invoking of controller action which is basically a handler for Grid control:
ActionResult Get([DataSourceRequest]DataSourceRequest request)
var products = _userService.GetProducts();
result = products.ToDataSourceResult(request);
The error i am getting from the NUnit console is following:
System.IO.FileNotFoundException : Could not load file or assembly 'System.Web.Mvc, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
All of my projects are targeted against .NET 4.5.1.
Web project is targeting Asp.NET Mvc 5.1 version, which means iam using System.Web.Mvc version 22.214.171.124.
Kendo.Mvc is from the latest release - 2014.1.318.545
To make things even more complicated, when i run the test in isolation (only this one) it passes flawlessly.
But when i try to invoke it using NUnit console it fails throwing the above error.
Any hint is appreciated,