Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Newtonsoft Json Update #8247


User avatar
0
razkhan78 created

Hi

We are using AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

Right now we are integrating one 3rd party doc viewer and in that getting issue with Newtonsoft.Json version as below: FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Could you please let us know how we can upgrade it as not finding it when we check for list of installed nugets in web or core or application projects?

Thanks


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @razkhan78

    It is referenced in ABP, see https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Abp.csproj#L31.

    By the way, did you solve this problem ?

  • User Avatar
    0
    razkhan78 created

    Hi @ismcagdas

    No our problem is not solved and our query is how do we change it exactly?

    "It is referenced in ABP, see https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Abp.csproj#L31." =>Could you please provide more details on how we can change it as we don't have Abp.csproj file?

  • User Avatar
    0
    maliming created
    Support Team

    hi razkhan78

    Can you share a project that reproduces the problem?

  • User Avatar
    0
    razkhan78 created

    Hi @maliming

    https://prnt.sc/qfjvjr You can check error here. Problem is that another 3rd party dll we are using is looking for higher version of newtonsoft json package but abp is having lower version of same.

    Sorry we can not share project right now.

  • User Avatar
    0
    maliming created
    Support Team

    @razkhan78
    If you manually reference the higher version of the newtonsoft package in your project will solve this problem?

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.