I'm wondering how can I build XML documentation file in VS2015 with an ASP.NET MVC6 project? In older project types, a checkbox named XML documentation file when you right click on Properties -> Build .
XML documentation file
Properties -> Build
You don't need to do anything, it generates it by default and puts it in a NuGet package for you.
Refer to here if you want to see exactly where this is happening.