A
Aaron Stibich
It's looking like the GAC display name is always the name of your dll. Is
there any way to control the display name?
Here's some background, in case you're interested. I am making dialog that
lets you browse the GAC (using fusion.dll), select an assembly and create an
object within the assembly. This is to achieve location transparency for our
servers - similiar to how Ole View worked in the COM days). Trouble is, it's
very hard to see our assemblies in the mass of microsoft and other third
party assemblies. As far as I can tell, there is no information offered by
the GAC API that will allow me to filter out our servers (eg. the company
name attribute). So that's when I thought it would be cool if I could
register our servers with a namespace (eg. MyCompany.MyServer ) that I could
use to filter on, but it appears that the GAC display name has to be the
assembly name. I guess I could name my dll MyCompany.MyServer.dll (Microsoft
does it), but I'd rather not have to rename my dll name every time I want to
change the GAC display name.
Maybe the GAC is not meant to be used as a means to create objects with
location transparency. Please feel free to propose alternative solutions.
Thanks,
Aaron Stibich
there any way to control the display name?
Here's some background, in case you're interested. I am making dialog that
lets you browse the GAC (using fusion.dll), select an assembly and create an
object within the assembly. This is to achieve location transparency for our
servers - similiar to how Ole View worked in the COM days). Trouble is, it's
very hard to see our assemblies in the mass of microsoft and other third
party assemblies. As far as I can tell, there is no information offered by
the GAC API that will allow me to filter out our servers (eg. the company
name attribute). So that's when I thought it would be cool if I could
register our servers with a namespace (eg. MyCompany.MyServer ) that I could
use to filter on, but it appears that the GAC display name has to be the
assembly name. I guess I could name my dll MyCompany.MyServer.dll (Microsoft
does it), but I'd rather not have to rename my dll name every time I want to
change the GAC display name.
Maybe the GAC is not meant to be used as a means to create objects with
location transparency. Please feel free to propose alternative solutions.
Thanks,
Aaron Stibich