当前位置: 代码迷 >> ASP.NET >> ?一个小的反射有关问题,大家来帮小弟我看看,错在那里
  详细解决方案

?一个小的反射有关问题,大家来帮小弟我看看,错在那里

热度:7692   发布时间:2013-02-26 00:00:00.0
???一个小的反射问题,大家来帮我看看,错在那里
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 ");
  相关解决方案