"Referencing" the assembly is a compile time feature. Since this is a dynamically generated assembly, it doesn't exist at compile time.
You would need to use Assembly.Load
or similar to load the assembly after you create it, then use Reflection to instantiate the appropriate types within that assembly.