title: How to include XML comments files in Swagger in ASP.NET Core
body: <p>I need Swagger generate API documentation include UI to test operations.</p>
  
  <p>When use ASP.NET in my project, deps XML files are generated, everything is OK, look like this:</p>
  
  <p><a href="https://i.stack.imgur.com/EucFj.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/EucFj.jpg" alt="enter image description here"></a></p>
  
  <p>But when I use ASP.NET Core in my project, deps XML files are not generated. It just generates my project comments XML file, look like this:</p>
  
  <p><a href="https://i.stack.imgur.com/gfsnz.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/gfsnz.jpg" alt="enter image description here"></a></p>
  
  <p>And when I deploy my project to IIS, the project XML not in deploy files list.</p>