0

I need to update an assembly that my application is using.

It is a website application referencing the assembly in the GAC via this line in the web.config

<add assembly="dotnetCHARTING, Version=4.3.2721.21869, Culture=neutral, PublicKeyToken=AF2CD47DB69D93BD" />

However I am confused, I cannot find the assembly in C:\Windows\assembly or C:\Windows\Microsoft.NET\Assembly

I even tried this tool, no dice. http://gacbrowser.blogspot.co.uk/2008/03/gac-browser-introduction.html

I have tried looking via the public key and assembly name.

Any ideas?

(Edited - converted web.config line to code sample)

Dor Cohen
  • 16,769
  • 23
  • 93
  • 161
Hoody
  • 3,361
  • 9
  • 45
  • 55
  • Please confirm that the assembly is in the GAC. Check what application **is** using by attaching debugger and checking list of loaded modules. – Alexei Levenkov Apr 25 '12 at 15:58

3 Answers3

3

Have you tried using the .NET Fusion Logger? It should tell you the exact path that the assembly was loaded from.

CodingWithSpike
  • 42,906
  • 18
  • 101
  • 138
  • 1
    Or just look in the bin folder. If it's not in the GAC it's in one of the other locations searched for assemblies. – Dave Apr 25 '12 at 15:57
1

What version of .Net are you using? In .Net4, the location of the GAC changed. See this question for more details: .NET 4.0 has a new GAC, why?

Community
  • 1
  • 1
Andy
  • 8,432
  • 6
  • 38
  • 76
0

Try Create dump or mini dump using process explorer. It will show all the dll's your application is using.

Dor Cohen
  • 16,769
  • 23
  • 93
  • 161