What's the purpose of xml files next to the dll?

后端 未结 2 613
离开以前
离开以前 2021-01-07 16:23

For instance, log4net.dll comes with log4net.xml. What\'s the use of this xml?

2条回答
  •  情歌与酒
    2021-01-07 16:37

    This file contains description of the classes, methods, etc created as xml comments in the assembly.

    The Microsoft Docs says:

    The compiler generated XML file can be distributed alongside your .NET assembly so that Visual Studio and other IDEs can use IntelliSense to show quick information about types or members. Additionally, the XML file can be run through tools like DocFX and Sandcastle to generate API reference websites.

提交回复
热议问题