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

  • SEARCH
  • Home
  • 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 84899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:00:15+00:00 2026-05-10T22:00:15+00:00

NDoc has an XML element inheritdoc which allows you to inherit documentation of a

  • 0

NDoc has an XML element inheritdoc which allows you to inherit documentation of a member from the parent class (or an implemented interface). However, Visual Studio (i.e. the C# compiler) does not understand this tag and complains about the documentation not being present or complete. So does StyleCop and some other tools. Is there an alternative approach? How do you go about keeping the docs complete, yet without duplicating the XML descriptions?

  • 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. 2026-05-10T22:00:16+00:00Added an answer on May 10, 2026 at 10:00 pm

    One alternative is to use GhostDoc – an add-in for Visual Studio that automatically generates comments for you. This duplicates the XML description of course, which is part of what you’re trying to avoid – but at least it does it automatically for you.

    What happens if you just leave off the docs entirely for methods which are being inherited, or overriding interface methods? I suspect it depends on how you’ve got NDoc configured, but certainly in MSDN documentation seems to just naturally inherit the docs – and a quick check suggests that VS won’t whinge when you don’t prodive docs for an inherited method. Worth a try, certainly.

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

Sidebar

Related Questions

I'm trying to write some documentation for a webservice that has been provided by
My project manager last week hinted at using ndoc on properties within a class.
Microsoft killed NDoc when they released a CTP/Beta version of Sandcastle, and I rarely
I'm going through some new code I just wrote and adding NDoc sytle comments
im working on a documentation project and i need to parse the .net framework
Here is the code I'm running into an error with: FROM IndexPID INNER JOIN
I have a following XML structure : <html xmlns =http://www.w3.org/1999/xhtml > <head> . .
I'm using Interop.Domino.dll to retrieve E-mails from a Lotus Database (Term used loosely). I'm
Im looking into documenting the javascript code we develop and are looking for some
I have a file test.docx with 3 page sections, and each section is unlinked

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.