Closed sylvaincaillot closed 7 years ago
@sylvaincaillot Hi, thank you for your feedback, in order to reproduce the problem, could you share a minimal project for this issue?
Thank you again and waiting for your kind reply :-)
Thank you for your quick reply. This is short example in VS2017 which shows letters of the alphabet in a normal IList and then in a IPagedList with the error mentioned above.
S.
@sylvaincaillot Hi, this problem is confirmed and fixed. It is caused by incorrect handling for interface types with multiple base interfaces with same member names.
You may update Sakura.AspNetCore.PagedList
to the lastest version of 2.0.2
or manually isntall the dependent internal package Sakura.AspNetCore.PagedList.Abstractions
with version 2.0.1
to fix this problem.
Thank you again for your feedback and please fill free to reply if you have any new question.
Thank you @sgjsakura. It works beautifully now.
Hello, Using VS2015 with the latest tools, i was having the same error as #23 .
Considering that I was using VS2015 and it is now strongly advised to move to VS2017 with the recent stable releases, I migrated everything to VS2017, upgraded to the most recent SDK (1.0.3 corresponding to 1.0.4 LTS version and 1.1.1 current version of .NetCore App). I have also checked that my Microsoft.AspNetCore.Mvc Nuget package was updated to 1.1.2.
Summary of my new csproj configuration file:
All my packages are up-to-date, I am using the latest stable releases but I am still having this "An item with the same key has already been added. Key: Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata" issue which appears for all my pages using IPagedList.
Am i doing something wrong?
Thank you
S.