开发者

Get Physical Location of Types of an Assembly

开发者 https://www.devze.com 2022-12-21 18:22 出处:网络
May seem to be a similar question to GetReferencedAssembly locations, but my question is getting physical locations of the types in those referencedAssemblies.

May seem to be a similar question to GetReferencedAssembly locations, but my question is getting physical locations of the types in those referencedAssemblies. Can I get information from pdb? Or can I use cecil?

Ultimately my goal is search for a keyword for a specified assembly, and list all the files [.cs开发者_StackOverflow中文版/ .fs/ .vb] that uses this keyword.


Here is a interesting blog how to extract that information as xml from pdb files

Hope this helps!


You will need a PDB Parser for that. I know that .NET Massdownloader has a set of classes that do that under DownloadLibrary.Classes.PdbParsing.

0

精彩评论

暂无评论...
验证码 换一张
取 消