111,095
社区成员




Assembly ass = Assembly.LoadFrom(file); //加载程序集
Type descriptionType = typeof(AssemblyDescriptionAttribute);
Attribute attr= AssemblyDescriptionAttribute.GetCustomAttribute(ass, descriptionType); //报错!! 查询AssemblyDescriptionAttribute属性的时候出现异常
object[] des = ass.GetCustomAttributes(descriptionType, true);
foreach (object desc in des)
{
//DoWork here:
....
}