How can I programmatically add an assembly (DLL) as reference in a C# project? I need to add a reference at run time.
Consider if my project uses another class library (DLL) then I need to add that DLL as a reference in my project. How can I do that at run time?