C# Type.GetType 返回NULL 问题解决记录

Type.GetType("OP.Client.Html.Resources.KenFengFormMethod");

从Dll里面获取KenFengFormMethod这个会返回Null

这种需要

Type.GetType("OP.Client.Html.Resources.KenFengFormMethod,OP.Client.Html.Resources");

再原来的基础上加个逗号和Dll名称就行了

 

 

posted @ 2018-11-14 17:02  我现在只想做个好人  阅读(2439)  评论(15编辑  收藏  举报