Skip to content

System.Configuration.ConfigurationManager package contains assemblies with inconsistent versions #77887

Closed
@Alex-Sob

Description

@Alex-Sob

Description

System.Configuration.ConfigurationManager package v6.0.1 contains assemblies with inconsistent versions:

image

Particularly, this causes runtime issues in .NET Framework when a compiled project targeting netstandard2.0 references assembly version 6.0.0.0, but an assembly version 6.0.0.1 is used at runtime:

System.IO.FileLoadException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

Reproduction Steps

Create library project that targets netstandard2.0 and references System.Configuration.ConfigurationManager 6.0.1 and run .NET Framework app that uses that library.

Expected behavior

No errors

Actual behavior

System.IO.FileLoadException

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions