where to find xsd.exe in visual studio 2013 on windows 8

user3010967 picture user3010967 · Apr 10, 2014 · Viewed 74.1k times · Source

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.

Answer

StuartLC picture StuartLC · Dec 1, 2014

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:

%programfiles(x86)%\Microsoft SDKs\Windows\{ver}\bin\{FXVer} Tools

Where

  • {ver} is the SDK version (e.g. v8.1A)
  • and {FXVer} is the applicable .Net Framework version, e.g. NETFX 4.0v

e.g.

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools 

SDK 7 and lower

%programfiles(x86)%\Microsoft SDKs\Windows\{ver}\Bin\

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.