Giter Site home page Giter Site logo

Comments (12)

Anduin2017 avatar Anduin2017 commented on June 7, 2024 1

Hi, 8.4.3 works for me! 👍👍👍

Build succeeded! 💯

Thanks for your help!

from x.pagedlist.

hn1 avatar hn1 commented on June 7, 2024

Me too. We are trying to uppgrade from 8.1 to 8.4 in a project that is targetting the .NET 6 framework.

from x.pagedlist.

xyanide avatar xyanide commented on June 7, 2024

Same, we are getting issues with regular AspNetCore packages where we didn't have those before. I see there are three more dependant packages which could be causing the issues.

Microsoft.AspNetCore.Html.Abstractions (>= 2.2.0)
Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.2.0)
System.Text.Encodings.Web (>= 6.0.0)

Our error:

Error	CS0234	The type or namespace name 'StaticFiles' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?)
Error	CS0246	The type or namespace name 'IEndpointRouteBuilder' could not be found (are you missing a using directive or an assembly reference?)

from x.pagedlist.

ernado-x avatar ernado-x commented on June 7, 2024

@hn1 @Anduin2017 @xyanide could you please share example of your project files?

from x.pagedlist.

Anduin2017 avatar Anduin2017 commented on June 7, 2024

https://github.com/AiursoftWeb/Infrastructures/blob/5edf6a7fdc5927a35e4d63e4aa062436c7e50cd9/src/WebServices/Business/Account/Aiursoft.Account.csproj#L10

from x.pagedlist.

ernado-x avatar ernado-x commented on June 7, 2024

@Anduin2017 thank you!
I just tried to download your project, upgraded X.PagedList.Mvc.Core from 8.1.0 to 8.4.0
Build finished successfully. I did it on Mac OS. I will also try to do it on Windows.

from x.pagedlist.

Anduin2017 avatar Anduin2017 commented on June 7, 2024

Ah... I just paste a screenshot here:

And I'm using dotnet publish -c Release -r win-x64 --no-self-contained to build the production binaries.

image

from x.pagedlist.

ernado-x avatar ernado-x commented on June 7, 2024

@Anduin2017 please try this version https://www.nuget.org/packages/X.PagedList.Mvc.Core/8.4.1

from x.pagedlist.

Anduin2017 avatar Anduin2017 commented on June 7, 2024

Hi,

  Restored C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\src\Infrastructure\Developer.SDK\Aiursoft.Developer.SDK.csproj (in 14 ms).
C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\src\WebServices\Business\Account\Aiursoft.Account.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.
0.1. Reference the package directly from the project to select a different version.  [C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\Aiursoft.Infrastructures.sln]
C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\src\WebServices\Business\Account\Aiursoft.Account.csproj : error NU1605:  Aiursoft.Account -> X.PagedList.Mvc.Core 8.4.1 -> Microsoft.AspNetCore.Mvc.
ViewFeatures 2.2.0 -> Microsoft.AspNetCore.Mvc.Core 2.2.0 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.Fil
eSystem 4.3.0 -> System.IO.FileSystem.Primitives (>= 4.3.0)  [C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\Aiursoft.Infrastructures.sln]
C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\src\WebServices\Business\Account\Aiursoft.Account.csproj : error NU1605:  Aiursoft.Account -> X.PagedList.Mvc.Core 8.4.1 -> Microsoft.AspNetCore.Mvc.
ViewFeatures 2.2.0 -> Microsoft.AspNetCore.Mvc.Core 2.2.0 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> System.IO.FileSystem 4.0.1 -> System.IO.FileSystem.Prim
itives (>= 4.0.1) [C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\Aiursoft.Infrastructures.sln]

from x.pagedlist.

ernado-x avatar ernado-x commented on June 7, 2024

Looks like the problem is caused by .NET Standard 2.0 dependencies.
I added different Frameworks support.
Please try now: https://www.nuget.org/packages/X.PagedList.Mvc.Core/8.4.2

from x.pagedlist.

Anduin2017 avatar Anduin2017 commented on June 7, 2024

Hi,

error NU1605:  Aiursoft.Account -> X.PagedList.Mvc.Core 8.4.2 ->
 Microsoft.AspNetCore.Mvc.ViewFeatures 2.2.0 -> Microsoft.AspNetCore.Mvc.Core 2.2.0 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> Sys 
tem.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Collections (>= 4.3.0)  [C:\Users\AnduinXue\source\repos\AiursoftWeb\Infrastructures\Aiursoft.Infrastructur 
es.sln

from x.pagedlist.

ernado-x avatar ernado-x commented on June 7, 2024

@Anduin2017 I updated reference from direct packages references to Microsoft.AspNetCore.App metapacakge. Please try https://www.nuget.org/packages/X.PagedList.Mvc.Core/8.4.3

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.