1

I use gacutil to add/remove assemblies to GAC, I can find the assemblies installed in gac by providing exact name, but is there any way to find assemblies by name pattern/partial match?

Thunderstruck
  • 335
  • 4
  • 15

2 Answers2

2

There is no off the shelf option. You can write custom application to iterate GAC assemblies and cater filter logic.

Or

Use application like A GAC Manager Utility and API

http://www.codeproject.com/Articles/430568/A-GAC-Manager-Utility-and-API

Sandeep Kumar M
  • 3,841
  • 3
  • 38
  • 59
1

Why do you want this? Anyway you can list them, pipe that list into a text file and run some regular expressions on the list using your favorite text editor or from code.

Then you can remove the assemblies you want to.

Community
  • 1
  • 1
CodeCaster
  • 147,647
  • 23
  • 218
  • 272
  • 1
    I need to verify if some assemblies are installed or not. Listing all assemblies doesn't do any good as it gives a list of ~3K assemblies. – Thunderstruck Dec 18 '14 at 12:31