Open Closed

Error while update Abp framework from 8.3.2 to 8.3.4 with System.Text.Json #8367


User avatar
0
cverga created
  • ABP Framework version: v8.3.4
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

After upgrading Abp version from 8.3.2 to 8.3.4, I get the following error message when I build my solution :

I believe that the version of System.Text.Json is still the old one (8.3.4)?

What can I do, to overcome this issue?


6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think you updated the version by mistake, you can check your project file to make sure all abp packages are 8.3.4 and Microsoft packages are 8.0.x. PS, Leptonx theme version should be 8.3.4

    And try dotnet clean&abp clean to clean the solution.

  • User Avatar
    0
    ikappas created

    @liangshiwei Thank you for your swift response

    The issue occurs with abp bundle command on our Blazor project.

    • We have verified that all abp packages are on 8.3.4
    • We have verified that all Microsoft packages are on 8.0.x (8.0.11)
    • We are not using LeptonX theme
    • We have run dotnet clean & abp clean commands
  • User Avatar
    0
    ikappas created

    Hi,

    I think you updated the version by mistake, you can check your project file to make sure all abp packages are 8.3.4 and Microsoft packages are 8.0.x. PS, Leptonx theme version should be 8.3.4

    And try dotnet clean&abp clean to clean the solution.

    Any update on this issue?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I guess one of your packages depends on 9.0 version

    you can check the project.assets.json

  • User Avatar
    0
    ikappas created

    Hi,

    I guess one of your packages depends on 9.0 version

    you can check the project.assets.json

    Thank you very much for pointing us on the right direction. It was a recently updated indirect dependency that indeed had a dependency on System.Text.Json 9.0.0.

    You may close the ticket.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    : )

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09