I have defined custom configuration section class in the same executable assembly (IVITerminal.exe) as this section for. In App.config I have:
<configSections>
....
<section name="myconfig" type="IVITermital.Configuration.Section, IVITerminal"/>
....
</configSections>
....
<myconfig>....</myconfig>
But when I want to read section:
static void Main(string[] args)
{
var s = ConfigurationManager.GetSection("myconfig") as Section;
I got exception Could not load type 'IVITermital.Configuration.Section' from assembly 'IVITerminal'. of type System.Configuration.ConfigurationErrorsException.
Is it possible to define configuration sections in same exe?