adding gac assemblies to add reference assembly listing

Published 02-08-2006 4:11 AM | jokiz

i am currently exploring log4net and how to use it to my newly assigned project.  i downloaded the source code and i needed to install it in the gac so i can easily reference it in my projects.  i tried to rebuild the source and had some problem with strong naming.  couldn't figure out what the problem is (but i know its the included snk file) so i generated another snk file.  i just wanted to strongly name the assembly anyway.  after compiling, i got the dll and the xml doc.  i istalled the assembly to GAC (using gacutil of course) but was not able to get the log4net assembly to appear in the add reference dialog box.

i experienced the same thing before and i remembered i edited something in my registry.  searched msdn for the said kb, pointed me to a VS 2002 kb but tried it anyway with no luck.  searched usenet and voila.  i just need to copy the assembly to a Public Assemblies folder located in C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies which is already configured in the registry.

Of course i needed intellisense in using log4net so i copied the xml file where it should be (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322)

Note: path might change depending on the version of VS/framework you are using.

Filed under: , ,

Comments

# dehran ph said on February 8, 2006 6:26 AM:

I am using the .Net Configuration Snapin to manage my GAC. But very seldom I use the GAC.

# jokiz said on February 9, 2006 3:39 AM:

well i use it a lot to install controls...

# Ultracet. said on June 8, 2008 12:13 PM:

Can i buy ultracet in mexico. Ultracet vs vicodin. Ultracet.