Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Problem adding assembly to the GAC

Mar 11 2003 6:51 AM
Hi all, I'm new, both to this forum and C# in general :) Not sure if this belongs here or in the Deployment forum, but here goes. I have an assembly that I want to add to the GAC so I can use it in multiple projects. I have successfully given my assembly a strong name and used gacutil to add the dll to the GAC. If I run gacutil /l, the assembly appears in the list. But in Visual Studio, when I try to add a reference to my assembly, it does not appear in the Add Reference dialog box. I have tried both restarting Visual Studio and rebooting the machine to no avail. Sadly, all the help I can find seems to assume that once your assembly is in the GAC, it will appear in the Add Reference dialog automatically. Does anyone know what I'm doing wrong?

Answers (3)