I have used the xsd.exe utility in Visual Studio 2003
and 2008
to generate typed datasets from a 3rd party XSD file. The third party has changed their schema so I need to regenerate the datasets but I can't find XSD.EXE
.
The win8 search gives me information about the utility but not where it is, I tried a search in Windows explorer and didn't get any results.
I read posts regarding Win7/VS 2008
that say it is part of the WinSDK but I can't find it in that folder either.
Some poster say it now needs to be downloaded but from where. I am running 64 bit Windows 8 pro
and Visual Studio 2013 Ultimate
.
Someone has posted a zip file with xsd.exe (from 2011) and xsd.exe.config on his personal web site:
(https://juliankay.com/development/download-xsd-exe/).
Download of the zipfile worked for me in 03/2017 .
Output (on Linux, with Mono Support built into the kernel):
Once you have the SDK installed * (either Manually, or with Visual Studio), you'll find it in the following directories:
SDK 8 and later
There is an an additional FX version subdirectory:
Where
{ver}
is the SDK version (e.g.v8.1A
){FXVer}
is the applicable .Net Framework version, e.g.NETFX 4.0v
e.g.
SDK 7 and lower
Where
{ver}
is the SDK version (e.g.v7.0A
)On a 32 bit O/S, replace
%programfiles(x86)%
with%programfiles%
*
Wikipedia maintains a fairly recent set of download links to the various SDK versions - scroll to the bottom of the table for recent ones.This is part of the Windows SDK. I know that you can download the Windows 7 SDK for .NET 4.0 and the files will be installed and will be fully functional on Windows 8. (It is installed in C:\Program Files (x86)\Microsoft SDKs\Windows\?version?\bin\NETFX 4.0 Tools where version will be OS version like v8 or similar)
You may also find the xsd application as part of the full SDK.
Also if you are so inclined to use other works, at Codeplex there is a nice alternative to xsd.exe: http://xsd2code.codeplex.com/
If you have Visual Studio installed, then you may locate Developer Command Prompt (it is a shortcut in Start menu, or it should be available from VS IDE). A cmd window opens and you are able to run xsd.exe from it.