How to get all types in a referenced assembly?
问题 For whatever reason, I can't seem to get the list of types in a referenced assembly. Not only that, I can't even seem to be able to get to this referenced assembly. I tried AppDomain.CurrentDomain.GetAssemblies() , but it only returns assemblies that have already been loaded into memory. I tried Assembly.GetExecutingAssembly().GetReferencedAssemblies() , but this just returns mscorlib. What am I missing? 回答1: Note that Assembly.GetReferencedAssemblies only includes a particular assembly if