Coder Social home page Coder Social logo

X.PagedList on MVC6 about x.pagedlist HOT 17 CLOSED

dncuug avatar dncuug commented on May 24, 2024
X.PagedList on MVC6

from x.pagedlist.

Comments (17)

drjaytarolli avatar drjaytarolli commented on May 24, 2024 2

capture
@ernado-x This might be what he is referring to (at least this is the problem I am having)

from x.pagedlist.

sky-code avatar sky-code commented on May 24, 2024 1

Hello, i implement mvc 6 compatibility and start pull request #18

from x.pagedlist.

himadrinath avatar himadrinath commented on May 24, 2024 1

https://www.nuget.org/packages/X.PagedList/5.0.0.3000-beta

Error CS0012 The type 'MvcHtmlString' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

from x.pagedlist.

drjaytarolli avatar drjaytarolli commented on May 24, 2024 1

I get the same error during compilation as @himadrinath

from x.pagedlist.

ernado-x avatar ernado-x commented on May 24, 2024

For the moment I not start implementing support for MVC 6.
But if you want do it - I will merge your implementation with current code base and include it to nuget package.

from x.pagedlist.

chbach avatar chbach commented on May 24, 2024

👍 for MVC 6 support

from x.pagedlist.

ernado-x avatar ernado-x commented on May 24, 2024

@sky-code, thank you!

For now it is some problems with CI build. Can you help?

from x.pagedlist.

sky-code avatar sky-code commented on May 24, 2024

Yep, i will try to help you solve this build error see #20

from x.pagedlist.

eBerdnA avatar eBerdnA commented on May 24, 2024

Any news on this? #20 seems to be fixed.

Is the package for MVC6 already available on NuGET? I guess not because I couldn't find it.

from x.pagedlist.

SavaMinic avatar SavaMinic commented on May 24, 2024

What's happening with this?
I included "X.PagedList.Mvc": "4.9.1.310" into project.json, and getting "X.PagedList.Mvc 4.9.1.310 does not support framework DNXCore,Version=v5.0".

from x.pagedlist.

Marren85 avatar Marren85 commented on May 24, 2024

Same problem for me, still doesn't work, why does dnx core cause so many problems?

from x.pagedlist.

ernado-x avatar ernado-x commented on May 24, 2024

Hey, all!
Thank you for your waiting. I had no time to make some updates :(
Now published beta version of MVC 6 compatible version at: https://www.nuget.org/packages/X.PagedList/5.0.0.3000-beta

Please view this package, and if you have any suggestions I will be glad improve this version.

Thank you all!

from x.pagedlist.

vsg24 avatar vsg24 commented on May 24, 2024

Why does this MVC 6 version has a dependency on System.Web??? This namespace doesn't exist in .net core.

from x.pagedlist.

ernado-x avatar ernado-x commented on May 24, 2024

@vsg24 please show, where you see this reference? I do not see it.
capture

from x.pagedlist.

HTOSOLUTIONS avatar HTOSOLUTIONS commented on May 24, 2024

I have the same problem illustrated by the screenshot from @jay5026 . PageListerPager evidently relies on a class MvcHtmlString that requires System.Web.Mvc. But this assembly is not used in the default project template for a .NET 5 project.

from x.pagedlist.

RealBrubru avatar RealBrubru commented on May 24, 2024

Same problem here, any fix??
Thanks

from x.pagedlist.

ernado-x avatar ernado-x commented on May 24, 2024

Unfortunately I cannot support ASP.NET Core (formerly ASP.NET MVC 6) version at this moment. So I deleted all code that related to .NET Core from master branch and cleaned up project. ASP.NET Core compatible version saved in net-core branch. I think I will back to this code when .NET Core will be released. Sorry for inconvenience.

from x.pagedlist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.