problem in adding references ?????? RRS feed

  • Question

  • Hi,
    I just want to know how to add reference of a shared assembly from Add References ,
    b'coz i find although assembly is added to GAC still the assembly is never shown in the
    Add references dialog ?????

    Thanx in advance
    Saturday, May 3, 2008 1:27 AM


  • You cannot reference assemblies stored in the GAC.  You need a copy of the assembly, stored in a well known place.   For the .NET assemblies, those reference assemblies are stored in c:\windows\  Don't use that for your own, most typically you just keep them where you built them, just before you put them in the GAC.  You'd add the reference with the Browse tab.

    Getting them to show up in the Add Reference, .NET tab takes monkeying with the registry (HKLM\ Software\ Microsoft\ .NETFramework\ AssemblyFolders).
    Saturday, May 3, 2008 2:22 PM