Hello,
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:
The error i am getting from the NUnit console is following:
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 5.1.0.0.
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,
Ljubomir
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:
public
virtual
ActionResult Get([DataSourceRequest]DataSourceRequest request)
{
var products = _userService.GetProducts();
result = products.ToDataSourceResult(request);
return
Json(result);
}
The error i am getting from the NUnit console is following:
System.IO.FileNotFoundException : Could not load file or assembly 'System.Web.Mvc, Version=5.0.0.0, 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 5.1.0.0.
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,
Ljubomir