Install dll in GAC and add registry key to include directory where dll is
located
HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\AssemblyFolders
ice
> I am attempting to use the Exception Application Block to
> publish error's to the Event Log. On my development
[quoted text clipped - 8 lines]
> Thanks
> Perry
Perry - 19 Aug 2003 19:52 GMT
Thanks Ice, but I am an inexperienced Registry user.
Should I have a AssemblyFolders directory in my Registry
because I don't see it? And what do I call the key?
Thanks
Perry
Ice - 19 Aug 2003 20:15 GMT
call it whatever you want too (the key that is)..
and specify a new string value for the directory where the assemblies are
located.
you should have AssemblyFolders, but if you don't create it and then create
a subfolder.
ice
> Thanks Ice, but I am an inexperienced Registry user.
> Should I have a AssemblyFolders directory in my Registry
> because I don't see it? And what do I call the key?
>
> Thanks
> Perry
Ice - 21 Aug 2003 17:43 GMT
Maybe I miss understood the original post.
You can never directly reference a dll from the GAC, it will always point to
directory from which the dll was installed into the GAC.
I thought you wanted the dlls in the GAC to show up under the .NET tab of
"Add References" feature.
ice
> Thanks Ice, but I am an inexperienced Registry user.
> Should I have a AssemblyFolders directory in my Registry
> because I don't see it? And what do I call the key?
>
> Thanks
> Perry
Manoj G [MVP] - 21 Aug 2003 04:31 GMT
I suppose this is not necessary. If an assembly is strong named and
referenced, the assembly resolver would automatically look for the assembly
in the GAC. So, you just need to deploy the referenced assembly in the GAC
and nothing else.
--
HTH,
Manoj G [.NET MVP]
http://www15.brinkster.com/manoj4dotnet
> Install dll in GAC and add registry key to include directory where dll is
> located
[quoted text clipped - 13 lines]
> > Thanks
> > Perry