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. Installing Windows assembly in GAC

Installing Windows assembly in GAC

Scheduled Pinned Locked Moved C#
csharpdotnetvisual-studiocomhelp
5 Posts 4 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.
  • A Offline
    A Offline
    AmmySA
    wrote on last edited by
    #1

    Hi to all I am trying to add windows assembly to the GAC using the following command in the command prompt. C:\Program Files\Microsoft Visual Studio 8\VC>gacutil /i C:\WINDOWS\system32\odb c32.dll But it is not being install and I am getting the following error. "Failure adding assembly to the cache: The module was expected to contain an assembly manifest." I am not getting the reference of the assembly neither in the .NET Assembly nor in the COM objects. Can anyone tell me how can I install this assembly in the GAC. Thanks in advance Amit

    M L 2 Replies Last reply
    0
    • A AmmySA

      Hi to all I am trying to add windows assembly to the GAC using the following command in the command prompt. C:\Program Files\Microsoft Visual Studio 8\VC>gacutil /i C:\WINDOWS\system32\odb c32.dll But it is not being install and I am getting the following error. "Failure adding assembly to the cache: The module was expected to contain an assembly manifest." I am not getting the reference of the assembly neither in the .NET Assembly nor in the COM objects. Can anyone tell me how can I install this assembly in the GAC. Thanks in advance Amit

      M Offline
      M Offline
      monstale
      wrote on last edited by
      #2

      hi, did you sign your assembly? Project Properties --> Signing --> Sign the assembly ;-) kind regards

      1 Reply Last reply
      0
      • A AmmySA

        Hi to all I am trying to add windows assembly to the GAC using the following command in the command prompt. C:\Program Files\Microsoft Visual Studio 8\VC>gacutil /i C:\WINDOWS\system32\odb c32.dll But it is not being install and I am getting the following error. "Failure adding assembly to the cache: The module was expected to contain an assembly manifest." I am not getting the reference of the assembly neither in the .NET Assembly nor in the COM objects. Can anyone tell me how can I install this assembly in the GAC. Thanks in advance Amit

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, why would you want that? the GAC is for managed code DLLs only, odbc32.dll is a native code DLL, it is fine where it is. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


        0 1 Reply Last reply
        0
        • L Luc Pattyn

          Hi, why would you want that? the GAC is for managed code DLLs only, odbc32.dll is a native code DLL, it is fine where it is. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


          0 Offline
          0 Offline
          0x3c0
          wrote on last edited by
          #4

          Luc Pattyn wrote:

          why would you want that?

          It doesn't match the curtains

          Between the idea And the reality Between the motion And the act Falls the Shadow

          L 1 Reply Last reply
          0
          • 0 0x3c0

            Luc Pattyn wrote:

            why would you want that?

            It doesn't match the curtains

            Between the idea And the reality Between the motion And the act Falls the Shadow

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Computafreak wrote:

            doesn't match the curtains

            You don't need curtains with Windows, Microsoft hid some termination commands under "Start", of all places. :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


            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