Is there a way to get the assembly name from a namespace string? For example, get "mscorlib" from "System".
The reason for my question is that I create Boo scripts using the by-method, and I need to add namespaces programmatically. The resulting string in Boo will read:
import System from mscorlib
I could obviously pass a collection of import strings, but if I could just pass a list of links, that would be much more scalable!
Many thanks
source share