My understanding of InternalsVisibleTo
is that it is primarily for unit-testing. But that means that my unit test class, if it's in a separate project, needs a reference to the project that has the class with InternalsVisibleTo
, and also that class needs a reference to the unit test class in order to get its assembly name to put in the parameter of the attribute.
How to solve this Catch-22?
Aucun commentaire:
Enregistrer un commentaire