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. GAC problem

GAC problem

Scheduled Pinned Locked Moved C#
dotnetperformancehelptutorial
4 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
    mikla521
    wrote on last edited by
    #1

    I don't have a clue how to solve this... In the first place I needed to know how to read Shared Memory. Then I have a freeware program that use that and my thought was to reverse engineer that app to see how it's done. Well, works like a charm, so far. The problem is: The main app use a dll from the GAC, lets say Framework.dll. I have reversed engineered that one too and have a reference in the main app to that dll. But when I run the program it is the original one in the GAC that is used and I can't find where to change that.

    P 1 Reply Last reply
    0
    • M mikla521

      I don't have a clue how to solve this... In the first place I needed to know how to read Shared Memory. Then I have a freeware program that use that and my thought was to reverse engineer that app to see how it's done. Well, works like a charm, so far. The problem is: The main app use a dll from the GAC, lets say Framework.dll. I have reversed engineered that one too and have a reference in the main app to that dll. But when I run the program it is the original one in the GAC that is used and I can't find where to change that.

      P Offline
      P Offline
      paas
      wrote on last edited by
      #2

      Did you change the version number of the "GAC" modified DLL, and then ensure your reference was pointing at the new version?

      M 1 Reply Last reply
      0
      • P paas

        Did you change the version number of the "GAC" modified DLL, and then ensure your reference was pointing at the new version?

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

        What I have done: The main app reversed. The dll from GAC also reversed and put into same solution. The main app has the Framework.dll as reference. Building works. When I run I get following: "The following module was built either with optimization enabled or without debug information".... and the path to GAC dll. That indicates to me that it's wrong dll since I run in debug mode, even the Framework.dll. Maybe this is over my head :) The point is that I don't need the dll to reside in the GAC, but how do I make the reference point to "my" dll?

        P 1 Reply Last reply
        0
        • M mikla521

          What I have done: The main app reversed. The dll from GAC also reversed and put into same solution. The main app has the Framework.dll as reference. Building works. When I run I get following: "The following module was built either with optimization enabled or without debug information".... and the path to GAC dll. That indicates to me that it's wrong dll since I run in debug mode, even the Framework.dll. Maybe this is over my head :) The point is that I don't need the dll to reside in the GAC, but how do I make the reference point to "my" dll?

          P Offline
          P Offline
          paas
          wrote on last edited by
          #4

          Maybe this will help, maybe not... Add Reference

          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