mercredi 16 décembre 2015

Can Assembly.GetTypes() without references assemblies?

I have separated T4Template project for build some text.

This template project need classes with [MyAttribute], and these are only exists in A.DLL.
And A.DLL has a reference to X.DLL.

To avoid version hell, I wish to use A.DLL without X.DLL.
But {Assembly of A.DLL}.GetTypes(); needs reference of X.DLL.

Can I get types of A.DLL without reference of X.DLL?

Thanks.





Aucun commentaire:

Enregistrer un commentaire