title: Where do Visual Studio Intellisense comments come from?
body: <p>Visual Studio projects have an option to create <strong>XML Documentation Files</strong>.
  I understand that XML Documentation Files can be useful if you'd like to run a program like Sandcastle or NDoc or whatever to create MSDN-Style API docs. Fine. I don't care about that.</p>
  
  <p>According to this link: <a href="http://msdn.microsoft.com/en-us/library/s0we08bk.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/s0we08bk.aspx</a></p>
  
  <blockquote>
    <p>When you add the /doc switch to the Visual Basic, C#, or C++ compiler command line, an .xml file is generated that serves as the basis for IntelliSense documentation. </p>
  </blockquote>
  
  <p>So that makes me think that Intellisense comments <strong>can</strong> appear from these generated XML files.</p>
  
  <p>But I created a little Test app where I call a method in a totally different project and the XML comment appears in my Intellisense — And I haven't even saved the MediaHelper class! So in this case it's obvious there is no .xml file that Intellisense is using.</p>
  
  <p><img src="https://i.stack.imgur.com/lgD87.png" alt="Comment from Un-Saved Class"></p>
  
  <p>In light of all this, where does Intellisense get it's junk from?
  Thanks!</p>