Is there any way, from a given project, to create instances of classes contained in other projects ?
I usually use Assembly.GetExecutingAssembly().CreateInstance(), but obviously, this call will return NULL as the class I’m specifying is held in another project.
Any ideas ?
If you really want to use reflection to achieve this then look at
Assembly.LoadFrom(). http://msdn.microsoft.com/en-us/library/system.reflection.assembly.loadfrom.aspxAlternatively, as someone pointed out, you can simply use project references.