I would like to scan a directory for any assemblies that are not already referenced in the project then load all instances of a class that implements IMyInterface.
I know that the Assembly.LoadFile method can help me out here but how do I determine if the assembly that I am loading was already referenced statically? I do not want to load any assemblies twice.