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