You have to write code that does the search using reflection. Here's an
example:
Imports System.Reflection
Imports System.IO
Module Module1
Sub Main()
Dim searchDir As String =
"C:\WINDOWS\Microsoft.Net\Framework\v1.1.4322"
Dim searchFor As String = "Open"
Dim assemblyName As String
For Each assemblyName In Directory.GetFiles(searchDir, "*.dll")
Try
Dim currentAssembly As [Assembly] =
[Assembly].LoadFile(assemblyName)
For Each currentType As Type In currentAssembly.GetTypes()
If currentType.Name = searchFor Then
Console.WriteLine(Path.GetFileName(assemblyName) &
":" & _
currentType.FullName)
End If
For Each method As MemberInfo In currentType.GetMembers
If method.Name = searchFor Then
Console.WriteLine(Path.GetFileName(assemblyName)
& ":" & _
currentType.FullName & ":" & method.Name)
End If
Next
Next
Catch ex As Exception
End Try
Next
End Sub
End Module
"SevenThugsSoftware" wrote:
Does anyone know if there is a tool which can search a directory of
..dll files, for a particular namespace or object or method?
-Nesim