You have a few options.
You can use
Assembly.GetReferencedAssemblies to get a list of all of the assemblies referenced from your executing code. You can filter this (maybe just take the ones that start with your company name) and add all of those, in order to add in all of the assemblies you have referenced.
You can use a type to get an assembly, as mentioned above. That's fragile, although not too bad, since removing the type (MyClass) will cause a compile-time error, so it's easily fixed.
The other option si to use a DirectoryCatalog to load all of the assemblies sitting in a Directory. This works great for runtime discovery of plugins.
Reed Copsey, Jr. -
http://reedcopsey.com