Hoody
Hoody

Reputation: 3381

Can't find an assembly in the GAC which application is using

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)

Upvotes: 0

Views: 3563

Answers (3)

Andy
Andy

Reputation: 8562

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?

Upvotes: 1

Dor Cohen
Dor Cohen

Reputation: 17080

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

Upvotes: 0

CodingWithSpike
CodingWithSpike

Reputation: 43718

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

Upvotes: 3

Related Questions