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
After upgrading my ASP.NET MVC project from framework 4.72 to 4.8, I receive this error on a page that references/uses X.PageList:
error CS0012: The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
The text was updated successfully, but these errors were encountered:
The project with which I am using X.PagedList is not a .NET Core project. When I upgrade it to .NET 5 I will be rearchitecting the whole thing, and most likely won't be using X.PagedList with it.
I think it's a common problem and doesn't relly on X.PagedList. We had got the same problem after upgrading one of the projects in the solution to netstandard 2.0. The possible solution you may find here or here .
After upgrading my ASP.NET MVC project from framework 4.72 to 4.8, I receive this error on a page that references/uses X.PageList:
error CS0012: The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
The text was updated successfully, but these errors were encountered: