E
Eyeawanda Pondicherry
I have put some code together that creates an enum dynamically from some
database values.
The enum can be read perfectly by an application that references the
dynamically generated dll.
If I /emit/ a new version of the assembly, and start the application
again, the new values will appear for the enum.
However, suppose I want the application to remain in a running state.
Can I actually emit the newly generated dynamic dll into memory using
the IlGenerator? And, from that point on, will the application use the
new dynamically generated enum?
( From what I have read, it seems possible so long as the assembly is
generated in the same ApplicationDomain as the application. )
database values.
The enum can be read perfectly by an application that references the
dynamically generated dll.
If I /emit/ a new version of the assembly, and start the application
again, the new values will appear for the enum.
However, suppose I want the application to remain in a running state.
Can I actually emit the newly generated dynamic dll into memory using
the IlGenerator? And, from that point on, will the application use the
new dynamically generated enum?
( From what I have read, it seems possible so long as the assembly is
generated in the same ApplicationDomain as the application. )