有一些我无法理解的东西。我无法读取类型参考:找不到mscorlib的类型
Assembly mscorlib = Assembly.Load("mscorlib");
// it DOES exist, returns type reference:
mscorlib.GetType("System.Deployment.Internal.Isolation.IDefinitionAppId");
// but its parent scope doesn't exist.. returns null:
mscorlib.GetType("System.Deployment.Internal.Isolation");
// even though it exists, it doesn't compile
// System.Deployment.Internal.Isolation.IDefinitionAppId x;
这怎么可能?
你在编译时得到的错误是什么? – fletcher 2010-08-09 18:56:47