'Add dynamic type into loaded non-dynamic assembly

Using AssemblyBuilder, I can create dynamic assemblies that contain dynamic types.

Is it possible to add a dynamic type to a non-dynamic assembly - i.e. a real assembly that is currently loaded?

For example, add a dynamic type into Assembly.GetExecutingAssembly()?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source