Search code examples
c#visual-studio-2008assembliescode-generationgac

add assembly reference dialog


Is there a way to use visual studio's "add assembly reference dialog" (or something similar) in my own application? I need it for dynamic code generation and compilation.

This is not simply an OpenFileDialog, since it additionally looks into the GAC and so on, so it will be very complicated to do it on my own, I think.

If this is not possible, how can I get a list of all assemblies from the GAC?


Solution

  • You dont want your app to be that slow, do you :P

    Source is available for CR_QuickAddReference.