Freigeben über


Assembly.GlobalAssemblyCache Property

Once you have an assembly loaded, you can use Assembly.GlobalAssemblyCache Property to determine if the assembly is loaded from GAC or not.

I am surprised that not many people know about this property.

Comments

  • Anonymous
    July 31, 2006
    When I develop DLLs , I usally add some helper files in the same folder for the DLL, like XSLT and config files for example.

    Adding the DLL to the GAC makes me unable to do that any more , I wonder if you can advice about this issue
  • Anonymous
    July 31, 2006
    Why can't you embed those files as resources inside the assembly?