中国开发网: 论坛: 程序员情感CBD: 贴子 251348
holly
MetaInfo – Metadata Dump Utility
Intro:



Metainfo is a command-line tool that dumps the metadata for DLL's or EXE's from any .Net compiler and managed .obj files produced from the Visual C++.Net compiler with the /CLR switch. The software is written in C++, and uses the unmanaged metadata APIs to read the contents of the file. This sample provides full sources for the tool.



Note: this is the software that you can invoke from the ILDASM tool, using the /ADVANCED option, and clicking the View | MetaInfo path
Usage:



MetaInfo <filename>



MetaInfo /? lists the various command options available
Building:



Open a command window and cd to the MetaInfo directory (this may vary on the options you chose at install time, but typically would be at : C:\Program Files\Microsoft.NET\FrameworkSDK\Tool Developers Guide\Samples\MetaInfo



Type nmake





This example assumes you have a copy of Microsoft Visual C++, version 6 or later, installed on your machine, in order to build the sample.

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录