0
我在我的app.config中有以下内容。app.config程序集
<configuration>
<configSections>
<sectionGroup name="FooGroup">
<section
name="Foo"
type="Bar.FooSection"
allowLocation="true"
allowDefinition="Everywhere"
/>
</sectionGroup>
</configSections>
....
Bar.FooSection是在另一个程序集,但是,所以我得到一个TypeLoadException。
我该怎么办?
使用typeof(TopNamespace.SubNameSpace.ContainingClass).AssemblyQualifiedName get的所有你需要的。谢谢斯塔克斯! – Martin 2010-08-18 10:44:38