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 7607337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:38:16+00:00 2026-05-31T00:38:16+00:00

Have an interesting one. I’m documenting a method using XML documentation comments in C#.

  • 0

Have an interesting one. I’m documenting a method using XML documentation comments in C#. I want to use the directive to include all the contents of a referenced file. I am documenting a piece of code which receives a string formatted as an xml document, and I want to include the XSD file in the parameter documentation.

This works fine in that the XML generated by Visual Studio is as I expect. Here’s a snippet of the XML:

    /// <param name="xml">XML string - see Test.xsd <include file="XSD/Test.xsd" path="/*"/> After file include</param>

However, when I use Sandcastle to generate a help file from this, the contents of the xsd file are not shown, but Sandcastle does not report any errors. I’ve tried to use the file name as relative to where the help files are as well, i.e.

but then Visual Studio complains it can’t find the file. I put them in both places and still the included file does not appear.

Any ideas?

  • 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-05-31T00:38:17+00:00Added an answer on May 31, 2026 at 12:38 am

    The include tag is processed at compiler time, so the generated XML file should contain all of its referred contents. Hence you have to put your XSD folder relative to the C# source file, then the compiler won’t show any errors. After this, Sandcastle will be able to create the help file from the single XML document.

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

Sidebar

Related Questions

Here's an interesting one. Anyone have a good RegEx for converting all (first) ^
I have one very interesting question (for me :) ).. I'm using jquery and
I have one interesting problem. I must parse mail body (regular expression), get some
Interesting one here. I have an ASP.NET 1.1 project that contains a web service
Alright, this one's interesting. I have a solution, but I don't like it. The
I have some interesting problem for an hour.. In my flex project, all width
Interesting one, this. I have the following JS code, which I'm displaying in a
I have an interesting problem to solve. One of my clients has me developing
I have an interesting (to me) problem... There are two threads, one for capturing
Here's an interesting one... hope I can explain it well... I have a collection

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.