TITLE RELOAD ASSEMBLY TO EXTEND WITH NEW TYPES.

James Smith

Total Post:48

Points:336
Posted by  James Smith
C# 
C#
 1648  View(s)
Ratings:
Rate this:

Can somebody tell me, if it's possible to load a previous saved assembly again, to extend it with new types via Reflection? Or do I have to create a new assembly? Thanks in advance.

  1. Awadhendra Tiwari

    Post:126

    Points:882
    Re: Title Reload assembly to extend with new types.

    Reflection has emit so you can be add new classes at runtime, I thought but I haven't used it. Look up reflection emit in visual studio help search.
    You can find more information about attributes and reflection on this link.

    http://msdn.microsoft.com/en-us/library/z919e8tw%28v=vs.80%29.aspx

    This might be helpful for you.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!