Amitabh
Amitabh

Reputation: 61167

How to know which application is using an Assembly in GAC?

How to know which application is using an Assembly in GAC? I want to remove unwanted assemblies from GAC but it is not getting removed as it is used by some other application.

Upvotes: 3

Views: 2940

Answers (2)

AureliusMarcus
AureliusMarcus

Reputation: 27

A passive approach can be using the Visual Studio tool fuslogvw to configure logging for all assemblies that are used on your machine. Then later you can examine the log and draw conclusion of which GAC elements are not used.

Upvotes: 2

Yuriy Faktorovich
Yuriy Faktorovich

Reputation: 68667

You can use Process Explorer to find processes using a file.

Upvotes: 2

Related Questions