You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mvc.JQuery.DataTables.Common (latest is 1.5.34) depends on System.Linq.Dynamic.Core.1.0.6.13. Problem is that System.Linq.Dynamic.Core now has version 1.0.7.5. Even though these are stepping version changes only, when I upgrade System.Linq.Dynamic.Core to the latest I get a run-time error:
System.IO.FileLoadException: 'Could not load file or assembly 'System.Linq.Dynamic.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0f07ec44de6ac832' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
When I try to create the return data:
public DataTablesResult<CheckItemModel> GetCalculationCheckData(DataTablesParam dataTableParam)
{
...
var calculationChecks = EngineController.getCalculationChecks(id);
var queryable = calculationChecks.AsQueryable().InterceptWith(new SetComparerExpressionVisitor(StringComparison.CurrentCultureIgnoreCase));
return DataTablesResult.Create(queryable, dataTableParam, null); // Here I get the error
}