0

Everywhere I see tutorials on how to compile assemblies using the System.CodeDom namespace.

But how can I access a member object of an assembly from a runtime compiled assembly (I'm not talking about accessing a class, I want to access a specific member variable)? In Microsoft Script Control it can be done with the AddObject method.

I guess if the assembly that is compiled at runtime behaves like every other ordinary assembly, then I should use .NET remoting? But isn't it an overkill? I wish there was an easier way.

Attila Kun
  • 2,215
  • 2
  • 23
  • 33

1 Answers1

0

By passing your object to an appropriate method in the runtime compiled assembly?

Senthil Kumar
  • 479
  • 2
  • 5