Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

.net

asp.net

dll

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

like image 525
Lieven Cardoen Avatar asked Oct 25 '10 13:10

Lieven Cardoen


People also ask

Can I delete XML files?

In the XML Files explorer, right-click the XML file or XML element that you want to remove and click Delete.

What is an XML format file?

What is XML? The Extensible Markup Language (XML) is a simple text-based format for representing structured information: documents, data, configuration, books, transactions, invoices, and much more. It was derived from an older standard format called SGML (ISO 8879), in order to be more suitable for Web use.

What are the contents of the DLL?

A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Each program can use the functionality that is contained in this DLL to implement an Open dialog box.

Why we use DLL in C#?

DLL in the C# Programming Language. The Class Library . DLL contains program code, data, and resources that can be can used by other programs and are easily implemented into other Visual Studio projects.


2 Answers

They contain the comments for the code in xml format. They can be used with sandcastle to generate windows help files or MSDN style html documents.

like image 132
Klaus Byskov Pedersen Avatar answered Oct 19 '22 06:10

Klaus Byskov Pedersen


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.

like image 44
Andrew Bezzub Avatar answered Oct 19 '22 04:10

Andrew Bezzub