docs icon indicating copy to clipboard operation
docs copied to clipboard

XML Schema Definition Tool (Xsd.exe) source code

Open avlasics opened this issue 5 years ago • 4 comments

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.

avlasics avatar Jun 21 '20 15:06 avlasics

cc @StephenMolloy @HongGit

tdykstra avatar Jun 22 '20 17:06 tdykstra

Path to SDKs (on my system): C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools

netify-gmail avatar Oct 20 '21 19:10 netify-gmail

I'm working on a workaround. I just want to join the group, for now.

HashKeyLime avatar Sep 21 '23 21:09 HashKeyLime

As mentioned https://developercommunity.visualstudio.com/t/better-xsd-xml-tooling/426740, the xsd.exe source code is available here: https://github.com/microsoft/referencesource/blob/master/xsd/microsoft/devapps/xsd/xsd.cs

mamift avatar Jan 25 '24 03:01 mamift