G
Guest
Hi,
I want to use CompileAssemblyFromSource to create an assembly on the fly,
then I want to run it in a separate AppDomain. The separate AppDomain will
have tight security permissions.
Is there any way to compile an assembly in Domain A, then execute it in
domain B, _without_ persisting it to disk?
The answer seems to be "no" - in which case what is the point of the
GenerateInMemory flag? If you can generate in memory but then cannot run in
a separate domain, what's the point?
I want to use CompileAssemblyFromSource to create an assembly on the fly,
then I want to run it in a separate AppDomain. The separate AppDomain will
have tight security permissions.
Is there any way to compile an assembly in Domain A, then execute it in
domain B, _without_ persisting it to disk?
The answer seems to be "no" - in which case what is the point of the
GenerateInMemory flag? If you can generate in memory but then cannot run in
a separate domain, what's the point?