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. General Programming
  3. C#
  4. Not able to see the dll which is registered successfully in cache

Not able to see the dll which is registered successfully in cache

Scheduled Pinned Locked Moved C#
comhelpquestion
5 Posts 2 Posters 0 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.
  • M Offline
    M Offline
    meeram395
    wrote on last edited by
    #1

    I have created a class library called TestCOM.dll and build the solution successfully and even though I created the application in different directory, I just copied the dll and put it in C:\Meeram395\TestCOM.dll Inorder to register the dll, I use the following command regasm TestCom.dll /tlb:TestCom.tlb /codebase TestCom I got the message that the dll registered successfully. When I tested in assembly folder, I couldn't see the assembly. So I used the following command again to register: gacutil /i testCOM.dll I got the message that "Assembly registered successfully in cache". But still I am not able to see the same in assembly folder. Not sure what's happening. When I try to unregister, I am getting an error message assembly file not found. But then, why it is giving successful message initially? Should i do something else. Thanks in advance, meeram395.

    Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

    W 1 Reply Last reply
    0
    • M meeram395

      I have created a class library called TestCOM.dll and build the solution successfully and even though I created the application in different directory, I just copied the dll and put it in C:\Meeram395\TestCOM.dll Inorder to register the dll, I use the following command regasm TestCom.dll /tlb:TestCom.tlb /codebase TestCom I got the message that the dll registered successfully. When I tested in assembly folder, I couldn't see the assembly. So I used the following command again to register: gacutil /i testCOM.dll I got the message that "Assembly registered successfully in cache". But still I am not able to see the same in assembly folder. Not sure what's happening. When I try to unregister, I am getting an error message assembly file not found. But then, why it is giving successful message initially? Should i do something else. Thanks in advance, meeram395.

      Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

      W Offline
      W Offline
      Wayne Gaylard
      wrote on last edited by
      #2

      Can you tell us what version of .Net the dll is compiled against, as .Net 4.0 assemblies get posted to C:\Windows\Microsoft.Net\assembly\GAC_MSIL, while earlier .Net dlls are still posted to assembly folder.

      ...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....

      M 2 Replies Last reply
      0
      • W Wayne Gaylard

        Can you tell us what version of .Net the dll is compiled against, as .Net 4.0 assemblies get posted to C:\Windows\Microsoft.Net\assembly\GAC_MSIL, while earlier .Net dlls are still posted to assembly folder.

        ...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....

        M Offline
        M Offline
        meeram395
        wrote on last edited by
        #3

        Ok. Thanks very much. I think I am using VS 2010, which is .Net 4.0. Let us confirm

        Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

        1 Reply Last reply
        0
        • W Wayne Gaylard

          Can you tell us what version of .Net the dll is compiled against, as .Net 4.0 assemblies get posted to C:\Windows\Microsoft.Net\assembly\GAC_MSIL, while earlier .Net dlls are still posted to assembly folder.

          ...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....

          M Offline
          M Offline
          meeram395
          wrote on last edited by
          #4

          Thanks a lot!!!! It's there in MSIL folder. A great help.

          Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

          W 1 Reply Last reply
          0
          • M meeram395

            Thanks a lot!!!! It's there in MSIL folder. A great help.

            Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

            W Offline
            W Offline
            Wayne Gaylard
            wrote on last edited by
            #5

            It's a pleasure.

            ...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....

            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