Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. dll in the gac [modified]

dll in the gac [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdotnet
15 Posts 4 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Sonia Gupta

    i installed a dll named gacdemo , it is there in the C:\WINDOWS\assembly but when i try to add the reference , it is not comming in the .net add reference list.y this is happening ? can u come online at yahoo messenger soniagupta1@yahoo.co.in user id = soniagupta1

    Soniagupta1@yahoo.co.in

    P Offline
    P Offline
    Paras Kaneriya
    wrote on last edited by
    #4

    sorry, I m in d office and I dont have access to msngers :sigh:

    Paras Kaneriya
    The difference between genius and stupidity is that genius has its limits.

    S 2 Replies Last reply
    0
    • P Paras Kaneriya

      sorry, I m in d office and I dont have access to msngers :sigh:

      Paras Kaneriya
      The difference between genius and stupidity is that genius has its limits.

      S Offline
      S Offline
      Sonia Gupta
      wrote on last edited by
      #5

      ok if u please provide the answer what the problem is occurig here whie using the dll i gac .while adding the reference that dll is not appearing in the .net references.

      Soniagupta1@yahoo.co.in

      1 Reply Last reply
      0
      • P Paras Kaneriya

        sorry, I m in d office and I dont have access to msngers :sigh:

        Paras Kaneriya
        The difference between genius and stupidity is that genius has its limits.

        S Offline
        S Offline
        Sonia Gupta
        wrote on last edited by
        #6

        the dll that i installed in the Gac has the following infomation. Processor Architecture - MSIL CULTURE - NEUTRAL PUBLIC TOKEN KEY - da908a8e0754ce8e

        Soniagupta1@yahoo.co.in

        G P 3 Replies Last reply
        0
        • S Sonia Gupta

          the dll that i installed in the Gac has the following infomation. Processor Architecture - MSIL CULTURE - NEUTRAL PUBLIC TOKEN KEY - da908a8e0754ce8e

          Soniagupta1@yahoo.co.in

          G Offline
          G Offline
          gauthee
          wrote on last edited by
          #7

          If you want to use an assembly from the GAC, you should drop your assemblies into 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 automatically use the assembly from the GAC

          gauthee

          P 1 Reply Last reply
          0
          • S Sonia Gupta

            the dll that i installed in the Gac has the following infomation. Processor Architecture - MSIL CULTURE - NEUTRAL PUBLIC TOKEN KEY - da908a8e0754ce8e

            Soniagupta1@yahoo.co.in

            P Offline
            P Offline
            Paras Kaneriya
            wrote on last edited by
            #8

            Its hard to guess from here what is wrong with it then also I m trying to find :cool:

            Paras Kaneriya
            The difference between genius and stupidity is that genius has its limits.

            1 Reply Last reply
            0
            • G gauthee

              If you want to use an assembly from the GAC, you should drop your assemblies into 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 automatically use the assembly from the GAC

              gauthee

              P Offline
              P Offline
              Paras Kaneriya
              wrote on last edited by
              #9

              are you sure??? I dont think so

              Paras Kaneriya
              The difference between genius and stupidity is that genius has its limits.

              G 1 Reply Last reply
              0
              • S Sonia Gupta

                I moment ago , installed the classs library type dll in the Gac.With the GAC, I can share assemblies across many applications.But i am not getting to know how should i utilize the the dll , that i just installed in the gac. i mean how i can access the gac classes in asp.net -- modified at 2:24 Tuesday 25th September, 2007

                Soniagupta1@yahoo.co.in

                A Offline
                A Offline
                Ajeet mittal
                wrote on last edited by
                #10

                Can U Tell what u want exactly.

                S 1 Reply Last reply
                0
                • S Sonia Gupta

                  the dll that i installed in the Gac has the following infomation. Processor Architecture - MSIL CULTURE - NEUTRAL PUBLIC TOKEN KEY - da908a8e0754ce8e

                  Soniagupta1@yahoo.co.in

                  P Offline
                  P Offline
                  Paras Kaneriya
                  wrote on last edited by
                  #11

                  you should try this Register assembly entry in registry: <1> Click Start - run, then type regedit to open registry; <2> Go to HEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Assembly Folders\; <3> Right click AssemblyFolders, then select new to create a new key for your assembly(for example: Security); <4> Select Modify by right clicking Default, then enter the location where your dll resides. :)

                  Paras Kaneriya
                  The difference between genius and stupidity is that genius has its limits.

                  S 1 Reply Last reply
                  0
                  • P Paras Kaneriya

                    are you sure??? I dont think so

                    Paras Kaneriya
                    The difference between genius and stupidity is that genius has its limits.

                    G Offline
                    G Offline
                    gauthee
                    wrote on last edited by
                    #12

                    yes i read somewehere! 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 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyAssemblies]@="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. The link is : http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=1175[^]

                    gauthee

                    1 Reply Last reply
                    0
                    • A Ajeet mittal

                      Can U Tell what u want exactly.

                      S Offline
                      S Offline
                      Sonia Gupta
                      wrote on last edited by
                      #13

                      http://www.codeproject.com/script/comments/forums.asp?msg=2242383&forumid=12076#xx2242383xx[^]

                      Soniagupta1@yahoo.co.in

                      1 Reply Last reply
                      0
                      • P Paras Kaneriya

                        you should try this Register assembly entry in registry: <1> Click Start - run, then type regedit to open registry; <2> Go to HEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Assembly Folders\; <3> Right click AssemblyFolders, then select new to create a new key for your assembly(for example: Security); <4> Select Modify by right clicking Default, then enter the location where your dll resides. :)

                        Paras Kaneriya
                        The difference between genius and stupidity is that genius has its limits.

                        S Offline
                        S Offline
                        Sonia Gupta
                        wrote on last edited by
                        #14

                        my class library dll is located at the location F:\extra\GACDEMO\GACDEMO\bin\Debug\GACDEMO.dll so the steps u told to type this path under the security key in the default , by right clicking it. now should it appear in the .net tab add reference. still it is not appearing in the .net add reference .

                        Soniagupta1@yahoo.co.in

                        P 1 Reply Last reply
                        0
                        • S Sonia Gupta

                          my class library dll is located at the location F:\extra\GACDEMO\GACDEMO\bin\Debug\GACDEMO.dll so the steps u told to type this path under the security key in the default , by right clicking it. now should it appear in the .net tab add reference. still it is not appearing in the .net add reference .

                          Soniagupta1@yahoo.co.in

                          P Offline
                          P Offline
                          Paras Kaneriya
                          wrote on last edited by
                          #15

                          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.(Found from Microsoft site) Please refer if you want : How to display an assembly in the Add Reference dialog box

                          Paras Kaneriya
                          The difference between genius and stupidity is that genius has its limits.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups