I have the following in my app.config.
<configuration>
<configSections>
<sectionGroup name="FooGroup">
<section
name="Foo"
type="Bar.FooSection"
allowLocation="true"
allowDefinition="Everywhere"
/>
</sectionGroup>
</configSections>
....
Bar.FooSection is in another assembly however, so I get a TypeLoadException.
What do I have to do?
My tentative guess would be that you need to specify the assembly as a part of the type attribute’s value, ie. make the mentioned
typefully qualified, i.e. something along the lines of:(Example taken from MSDN.)
You can probably omit the
Version,Culture, andPublicKeyToken, and just write: