Take the below example:
var assembly = Assembly.Load("ProjA.Primates");
var myType = assembly.GetType("ProjA.Primates.Bonobo");
If I do not specify the "ProjA.Primates." substring, an exception is thrown.
Why can't it successfully find the Bonobo
type in the loaded assembly?
Aucun commentaire:
Enregistrer un commentaire