Yes a registry setting needs to be added as well that points to the dll microsoft has 
an article about this
 
this is taken from egghead website
 
When you are developing a class library, you may want Visual Studio .NET to list your 
library in the Add Reference dialog box on the .NET tab without the user having to 
browse for it.   

This issue is not resolved if you install your assembly to the Global Assembly Cache 
(GAC), because the Add Reference dialog box is path-based and does not enumerate the 
components from the GAC.   

To display your assembly in the Add Reference dialog box, you can add a registry key, 
such as the following, which points to the location of the assembly 
[EMAIL PROTECTED]"C:\\MyAssemblies" 

--where MyAssemblies is the name of the folder in which the assemblies reside. 

NOTE: You can create the this registry entry under the HKEY_LOCAL_MACHINE hive.  This 
will change the setting for all of the users on the system.  If you create this 
registry entry under HKEY_CURRENT_USER, this entry will affect the setting for only 
the current user.   

Restart Visual Studio .NET after you have added the key.   

MORE INFO: 

Microsoft recommends that you not install your assemblies to the GAC, unless you want 
to share your assemblies with other applications running on that system.   

Also, note that it is not possible to directly reference an assembly from the GAC in 
your project.  If you want to use an assembly from the GAC, you should drop your 
assemblies to a local folder, and then add a reference to the assembly from this 
folder.  You may want to set the Copy Local property to False for that assembly if you 
do not want the assembly to be copied locally to your project folders.  At runtime, 
the application will use the assemblies from the GAC.   


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 11:54 AM
To: [EMAIL PROTECTED]
Subject: [AspNetAnyQuestionIsOk] GAC and dll refference


Greetings,

I placed a dll to GAC while running the gacutil from command line. I can see the dll 
in the assembly directory. I tried to reference this dll in my visual studio project, 
but does not show in the list. I can see the other dll's but not the one I registered.

Any ideas?

Thanks a bunch!
  _____  

Zehra Altug | Intranet Applications Developer | Information Technology Group | Media 
General, Inc. | Tel: (804) 649-6149 




[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor   

ADVERTISEMENT
 
<http://us.ard.yahoo.com/SIG=1290782et/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1089734060/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com>
 click here    
  
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=156322980>
     


  _____  

Yahoo! Groups Links


*       To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  

*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
  

*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to