开发者

How to scan a mixed mode C++/CLI assembly to create the intellisense XML?

开发者 https://www.devze.com 2022-12-20 19:23 出处:网络
We have a C++/CLI mixed mode assembly out of which we produce an XML file that we use for both, Sandcastle documentation and Intellisense.

We have a C++/CLI mixed mode assembly out of which we produce an XML file that we use for both, Sandcastle documentation and Intellisense.

We use a tool which scans the assembly and create all entries for us, unfortunately I don't know how this tool works and it is unable to handle method signatures like:

void foo([Out] long bar);

The XML file is expected this开发者_JAVA百科 parameter to be System.Int32!CompilerServices.IsLong@ but our tool just can't handle that.

In other words, how do you scan an assembly to create the XML file needed for Intellisense?


If you are asking how you can do this yourself, then you can load it up using the Metadata API (link text) and output the meta data any way you like. The API is a bit exotic and takes some getting used to, but it will get you there.

0

精彩评论

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