I have a .NET 6 Winform application (C#) with an app.config
and an appsettings
section for which I am using AppSettingsReader
to read the values.
I would like to add the equivalent of System.ServieModel
, however, as soon as I do, the AppSettingsReader
crashes with an unknown section.
Does anyone have an example of adding system.service model (WCF bindings) to a .NET 6 application (not a web app)?