Skip to content

ResXManager.Translators 1.107.6842.0 fails to load with TypeLoadException (AzureOpenAIPipelinePolicy) #768

Description

@xPudda

Visual Studio ships with System.Text.Json version 9.0.x, while the extension appears to require version 10.0.0.0.

The issue persists after:

  • Uninstalling and reinstalling ResX Manager.
  • Clearing the Visual Studio extension cache.
  • Restarting Visual Studio.

To Reproduce

  1. Install Visual Studio 2022 version 17.14.31.
  2. Install the latest version of ResX Manager (1.107.6842.0) from the Marketplace.
  3. Open any solution.
  4. Open ResX Resource Manager.

Expected behavior

ResX Resource Manager should open normally without throwing dependency loading exceptions.

Environment

  • Visual Studio: 2022 Professional 17.14.31
  • ResX Manager: 1.107.6842.0
  • .NET SDKs installed:
    • 3.1.100
    • 3.1.426
    • 7.0.410
    • 8.0.423
    • 9.0.313

Additional information

Visual Studio contains System.Text.Json version 9.0.x, while the exception indicates that ResX Manager is trying to load System.Text.Json version 10.0.0.0, which results in an assembly binding failure (HRESULT: 0x80131040).

The issue only occurs after updating to ResX Manager 1.107.6842.0.

After uninstalling version 1.107.6842.0 and reinstalling 1.105.6740.0, the extension works normally again. The ResX Resource Manager window opens correctly and all features appear to work as expected.

Image

ActivityLog.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions