http://community.csdn.net/Expert/topic/5420/5420639.xml?temp=.6603968
一起结
搞了好几天了
------解决方案--------------------------------------------------------
Itest a = (Itest)Assembly.Load( "mytest ").CreateInstance( "Class1 ");
--->
Itest a = (Class1)Assembly.Load( "mytest ").CreateInstance( "Class1 ");
------解决方案--------------------------------------------------------
改为Itest a = (Itest)Assembly.Load( "mytest ").CreateInstance( "mytest.Class1 ");
------解决方案--------------------------------------------------------
Itest a = (Itest)Assembly.Load( "mytest ").CreateInstance( "mytest.Class1 ");