Including XML Documentation with C# DLLs in Unity
![](
In Visual Studio's Solution Explorer,
right-click on the project.
A menu will appear at the bottom with the Properties option. Click it.
![](
A window like this will appear. Click on it, and:
![](
Navigate to the Build tab.
![](
Check the XML documentation file checkbox.
![](
When you build, you'll see that the XML documentation with summary tags is generated alongside the DLL.
![](
You can see that both the DLL and XML are built as separate files.
![](
Place both files in the Assets > Plugins folder.
If the Plugins folder doesn't exist, create one. I created an additional BTAI folder to keep things organized. The key point is that the files must be under Assets > Plugins. You can create additional subfolders inside it.
![](
Once you place both files and start using them:
![](
You can confirm that the XML documentation written for the DLL is now displayed alongside the code.
References:
How to include documentation in DLL to show method summary in Unity3D