Questions about Global Assembly Cache

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon Wallis

    #1

    Questions about Global Assembly Cache

    Hi, two questions about the GAC:

    1) If I have added a .NET component to the GAC, should it show up in
    the .NET Components tab under Add References? If not, how do I get it
    to show up in this list?

    I'm setting up the Logging Application Block and have followed all the
    steps to add it to the GAC, but it doesn't show up in the .NET
    Component references as the instructions say it should.

    2) If a component is in the GAC and I update the source code and
    recompile, do I need to manually refresh the GAC with the updated
    component, or does this happen automatically when I recompile the
    code?

    thanks,
    Simon.
  • Simon Wallis

    #2
    RE: Questions about Global Assembly Cache

    I answered my own question (number 1) by finding this:


    Still wondering about the second...


    "Simon Wallis" wrote:
    [color=blue]
    > Hi, two questions about the GAC:
    >
    > 1) If I have added a .NET component to the GAC, should it show up in
    > the .NET Components tab under Add References? If not, how do I get it
    > to show up in this list?
    >
    > I'm setting up the Logging Application Block and have followed all the
    > steps to add it to the GAC, but it doesn't show up in the .NET
    > Component references as the instructions say it should.
    >
    > 2) If a component is in the GAC and I update the source code and
    > recompile, do I need to manually refresh the GAC with the updated
    > component, or does this happen automatically when I recompile the
    > code?
    >
    > thanks,
    > Simon.
    >[/color]

    Comment

    • Simon Wallis

      #3
      RE: Questions about Global Assembly Cache

      I answered my own question (number 1) by finding this:


      Still wondering about the second...


      "Simon Wallis" wrote:
      [color=blue]
      > Hi, two questions about the GAC:
      >
      > 1) If I have added a .NET component to the GAC, should it show up in
      > the .NET Components tab under Add References? If not, how do I get it
      > to show up in this list?
      >
      > I'm setting up the Logging Application Block and have followed all the
      > steps to add it to the GAC, but it doesn't show up in the .NET
      > Component references as the instructions say it should.
      >
      > 2) If a component is in the GAC and I update the source code and
      > recompile, do I need to manually refresh the GAC with the updated
      > component, or does this happen automatically when I recompile the
      > code?
      >
      > thanks,
      > Simon.
      >[/color]

      Comment

      • Simon Wallis

        #4
        RE: Questions about Global Assembly Cache

        I answered my own question (number 1) by finding this:


        Still wondering about the second...


        "Simon Wallis" wrote:
        [color=blue]
        > Hi, two questions about the GAC:
        >
        > 1) If I have added a .NET component to the GAC, should it show up in
        > the .NET Components tab under Add References? If not, how do I get it
        > to show up in this list?
        >
        > I'm setting up the Logging Application Block and have followed all the
        > steps to add it to the GAC, but it doesn't show up in the .NET
        > Component references as the instructions say it should.
        >
        > 2) If a component is in the GAC and I update the source code and
        > recompile, do I need to manually refresh the GAC with the updated
        > component, or does this happen automatically when I recompile the
        > code?
        >
        > thanks,
        > Simon.
        >[/color]

        Comment

        • Mattias Sjögren

          #5
          Re: Questions about Global Assembly Cache

          Simon,
          [color=blue]
          >2) If a component is in the GAC and I update the source code and
          >recompile, do I need to manually refresh the GAC with the updated
          >component, or does this happen automatically when I recompile the
          >code?[/color]

          You must manually install the new version.



          Mattias

          --
          Mattias Sjögren [MVP] mattias @ mvps.org
          http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
          Please reply only to the newsgroup.

          Comment

          Working...