https://github.com/codaxy/xsd2
Improved version of xsd.exe
https://github.com/codaxy/xsd2
Last synced: 3 months ago
JSON representation
Improved version of xsd.exe
- Host: GitHub
- URL: https://github.com/codaxy/xsd2
- Owner: codaxy
- License: mit
- Created: 2013-04-28T19:55:20.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2022-01-10T07:20:39.000Z (over 4 years ago)
- Last Synced: 2025-11-18T14:35:06.761Z (7 months ago)
- Language: C#
- Size: 324 KB
- Stars: 36
- Watchers: 15
- Forks: 24
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# xsd2
Improved version of xsd.exe.
This version enables:
* List based collections in generated types
* Auto-capitalization of properties
* Nullable attribute types
* Removal of DebuggerStepThrough attribute
## Usage:
### Command line:
xsd2.exe <schema file> [/o:<output-directory>] [/ns:<namespace>] /all
### Example running for embedding in your CSPROJ (C# project):
```xml
.\
$(XsdFilesPath)%(Filename).xsd
<_FilesToDelete Include="*.cs"/>
```
## Notes:
* [PetaTest](http://www.toptensoftware.com/petatest/) framework is used for testing.
* Original idea http://mikehadlow.blogspot.com/2007/01/writing-your-own-xsdexe.html.