Mvc.JQuery.DataTables.Common's dependency on System.Linq.Dynamic.Core causes run-time error in an ASP.NET app
See original GitHub issueMvc.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
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Posting jQuery Datatable in ASP.NET Core causes 400 error
I've set up the Ajax call as below to post back to an MVC controller in the same application. Ajax call: ajax: {...
Read more >Common .NET Software Errors and How to Fix Them - Stackify
NET software errors from around the web. It includes exceptions, broken data bindings, memory leaks, LINQ issues, mistyping errors, ...
Read more >Using Dynamic LINQ With System.Linq.Dynamic.Core Library -
Core or Dynamic LINQ is an open-source query library that extends the functionalities of LINQ by making the queries dynamic. It's not included ......
Read more >NuGet Warning NU1605 - Microsoft Learn
A dependency package specified a version constraint on a higher ... NET Core 3.0 or higher project, and a RuntimeIdentifier is specified.
Read more >ASP.NET - CodeProject
Open source framework for monitoring Asp.Net Web Api 2 and MVC5 applications performance without using windows performance counters, automates performance ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think if this is going to cause lots of people problems, it’s probably worth updating the dependency withing Mvc.Jquery.DataTables - can you send me a PR with the updated dependency? I’ll merge it and get a new version out ASAP.
On 4 July 2017 at 01:44, Csaba Toth notifications@github.com wrote:
You’re right, although there is no guarantee that a minor version isn’t breaking - just an intention (and even then only if the developer is intending to use SemVer)…
Anyhow, the new package should be out there now!