If you’re reading this right now, it’s likely because you just discovered that XSD.exe doesn’t honor import declarations within XSD files.
The fix, it turns out, is to manually specify each XSD that the primary XSD requires. Something like xsd.exe primary.xsd imported.xsd another.xsd
In my case, my primary XSD file imported several XSD files… those those imported XSD files imported their own XSD files.. And putting that nasty command line together manually is just too far below my pay grade. Read More »XSD.exe and imports – a solution