[Mono-dev] Deferred loading of assemblies in C#?

SebastianGarth sebastiangarth at gmail.com
Thu Jul 23 00:03:42 EDT 2009

Hello, I have a general question with respect to loading assemblies at
runtime. Specifically, I would like to know if it is possible to reference a
class at compile time and have it resolve at link time? For instance, let's
say I have the following program:

using Foo;

class Test
	static void Main( string [ ] Unused )
		Foo.Bar foobar = new Foo.Bar( );
		foobar.baz( );

Now the external assembly 'Foo' isn't accessible at compile time, but I
would like to have my program compile into an 'incomplete' assembly, and
then later resolve the reference in another step, if that makes sense?

View this message in context: http://www.nabble.com/Deferred-loading-of-assemblies-in-C---tp24618972p24618972.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list