mardi 16 janvier 2018

Type.GetType() doesn't find dynamically created type

I'm creating types dynamically by using Reflection.Emit. When I try to resolve a type created that way, I either get a return value of null or an error is thrown, that the type couldn't be found.

I've tried to use search like this:

Type.GetType("MyNamespace.MyType, FullQualifiedAssemblyName", false);

Is there anything special to have a look on? Perhaps even through the process of creation?

Thanks in advance.





Aucun commentaire:

Enregistrer un commentaire