Skip to content

Update references for System.Text.Json #2277

Open
@albgen

Description

@albgen

Describe the bug
The latest version of Restsharp is referencing the version 8.0.0.4 of System.Text.Json which is Vulnerable
This means that i can't update the System.Text.Json because it will break the dependency.

To Reproduce
Use Restsharp latest version and also reference to latest version of System.Text.Json.

Expected behavior
Load the latest assembly of System.Text.Json

Stack trace
A call to devPOS.Fiskalizimi.Client.GlobalConfiguration.AccessToken failed with this message: Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
ExceptionStackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavDotNet.Invoke[T](String methodName, UInt32 methodIndex, BindingFlags flags, ParameterModifier modifier, Type[] referenceTypes, Object[] arguments)
at Microsoft.Dynamics.Nav.Runtime.NavDotNet.InvokePropertyGet[T](Boolean isStatic, String propertyName, UInt32 methodIndex)
at Microsoft.Dynamics.Nav.Runtime.NavDotNet.InvokePropertyGet[T](String propertyName, UInt32 methodIndex)..etc

Desktop (please complete the following information):

  • OS: Windows
  • .NET FRamework 4.8
  • Version 112.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions