Skip to content

Replacement System.Configuration.ConfigurationManager is incompatible #31

@hunkydoryrepair

Description

@hunkydoryrepair

Describe the bug
Microsoft provides a .NET Standard compatible version of System.Configuration.ConfigurationManager which we have been using in .NET 10 successfully for many projects. Using the replacement from WebFormForCore creates an incompatibility where it throws an error when not recognizing standard sections, such as appSettings and connectionStrings.

(Moreover, it seems to require .NET framework libraries (webengine4.dll), so we are running into exceptions because that assembly is not available, but this is a separate bug. One that could be solved if this assembly were just not used)

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to read in app.config with an section
  2. See error

Expected behavior
Compatibility with original ConfigurationManager that understood appSettings, connectionStrings (and probably more). OR the ability to use the official System.Configuration.ConfigurationManager

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions