Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9194451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:24:59+00:00 2026-06-17T21:24:59+00:00

Visual Studio projects have an option to create XML Documentation Files . I understand

  • 0

Visual Studio projects have an option to create XML Documentation Files.
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.

According to this link: http://msdn.microsoft.com/en-us/library/s0we08bk.aspx

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.

So that makes me think that Intellisense comments can appear from these generated XML files.

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.

Comment from Un-Saved Class

In light of all this, where does Intellisense get it’s junk from?
Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:25:00+00:00Added an answer on June 17, 2026 at 9:25 pm

    When the source code is within the existing solution (or even better, the same project), Visual Studio doesn’t need to find an XML file – it knows where the documentation comments are, so it will use them. (Just like Intellisense knows what members you’ve declared in the other file, even if you haven’t actually rebuilt yet.)

    You need to create an XML file if you want to add a reference to a DLL rather than a project reference within the same solution. So for example, I supply NodaTime.xml with the Noda Time package, so that even though you don’t have the source code, you can still see the comments in Intellisense.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have saved an image path in database like so: C:\Users\3embed\Documents\Visual Studio 2010\Projects\HeritageWeb\HeritageWeb\Images\startbutton.png I
I have multiple Projects(site) in my Solution (visual studio 2010). when i run my
I have around 50 projects in Visual Studio 2005 that I am building a
I have a Visual Studio 2010 solution that contains multiple projects. One of these
I am building a visual studio like application: User can create a new project,
i have some visual studio projects which depend on other projects, which have different
I have two visual studio projects, one written in C#, another written in fortran
We (small team) currently have our Visual Studio projects on a network drive (no
I have a Visual Studio 2010 solution with 5 projects in it, two libraries
I have a Visual Studio C++ solution with 3 projects: one contains all classes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.