Skip to content

Binary compiled against Siemens.Engineering V20 — V18 users get ReflectionTypeLoadException #24

Description

@tylerjgilbert

Environment:

  • TIA Portal V18 Update 5
  • Windows 11
  • Extension version: 0.0.18
  • .NET Framework 4.8
  • User is in Siemens TIA Openness group
  • TiaPortalLocation env var set correctly to: C:\Program Files\Siemens\Automation\Portal V18

Problem:
The server crashes immediately on startup with a ReflectionTypeLoadException when using --tia-major-version 18.

The docs state previous versions are supported with the --tia-major-version argument, but running LoaderExceptions reveals the binary has a hard dependency on Siemens.Engineering Version=20.0.0.0:

Could not load file or assembly 'Siemens.Engineering, Version=20.0.0.0,
Culture=neutral, PublicKeyToken=d29ec89bac048f84' or one of its dependencies.
The system cannot find the file specified.

The machine only has Siemens.Engineering V18 installed. No config change can fix this since the binary itself requires V20.

Request:
Could a V18-compatible build be released, or the resolver updated to dynamically load the correct version based on --tia-major-version?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions