Skip to content

Add XSD.exe reference source code link to XML Schema Definition Tool docs#52105

Open
Copilot wants to merge 3 commits intomainfrom
copilot/request-xsd-exe-source-code
Open

Add XSD.exe reference source code link to XML Schema Definition Tool docs#52105
Copilot wants to merge 3 commits intomainfrom
copilot/request-xsd-exe-source-code

Conversation

Copy link
Contributor

Copilot AI commented Mar 6, 2026

Users looking to understand or extend XSD.exe behavior had no pointer to the source code. Adds the Microsoft Reference Source link to the "See also" section.

Changes

  • docs/standard/serialization/xml-schema-definition-tool-xsd-exe.md
Original prompt

This section details on the original issue you should resolve

<issue_title>XML Schema Definition Tool (Xsd.exe) source code</issue_title>
<issue_description>Is it possible to get the source code for XSD.exe ?
I am in the process of migrating a WCF application to REST and .NET core - and the ability to generate classes that de/serialize to both JSON and XML is required.
I have succeeded in doing this by hand (a huge effort) - but it would be extremely useful to have a tool like XSD.exe to generate the combined JSON / XML classes from the existing XSD files.
I am writing such a tool using c# - but it is re-inventing the wheel - source code for XSD.EXE would be very useful to me.

Thanks


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Comments on the Issue (you are @copilot in this section)

@tdykstra cc @StephenMolloy @HongGit @BillWagner The fix for this issue is to add a link to https://github.com/microsoft/referencesource/blob/master/xsd/microsoft/devapps/xsd/xsd.cs

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Internal previews

📄 File 🔗 Preview link
docs/standard/serialization/xml-schema-definition-tool-xsd-exe.md XML Schema Definition Tool (Xsd.exe)

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Copilot AI changed the title [WIP] Request source code for XML Schema Definition Tool (Xsd.exe) Add XSD.exe reference source code link to XML Schema Definition Tool docs Mar 6, 2026
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. It's ready for final review.

@BillWagner BillWagner marked this pull request as ready for review March 6, 2026 16:35
@BillWagner BillWagner requested review from a team and gewarren as code owners March 6, 2026 16:35
Copilot AI review requested due to automatic review settings March 6, 2026 16:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the XML Schema Definition Tool (Xsd.exe) documentation to help users find the tool’s implementation by linking to the official Reference Source, and it refreshes article metadata.

Changes:

  • Added a “See also” link to the Xsd.exe Reference Source (xsd.cs) on GitHub.
  • Updated ms.date and added ai-usage: ai-assisted in the frontmatter.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XML Schema Definition Tool (Xsd.exe) source code

3 participants