I can’t find xsd.exe in Visual Studio 2008?

Posted on

Problem :

In Visual Studio 2005 the XSD compiler was in the SDK/v2.0 directory. In Visual Studio there is only a SDK/v3.5 directory has gone and so too has the xsd.exe compiler. Where has it gone?

Solution :

Not being completely happy with the above answers I have found that the SDK containing amongst other things the XSD.exe compiler is distributed now as part of the Windows SDK. See http://msdn.microsoft.com/en-gb/windows/bb980924.aspx?wt.svl=more_downloads

It is distributed as part of the Visual Studio 2008 package but they have moved it from the Visual Studio directory tree to:

on 32bit Windows “Program Files/Microsoft SDKs”,
and on 64bit Windows “Program Files (x86)/Microsoft SDKs”

I have xsd.exe here

C:Program FilesMicrosoft SDKsWindowsv6.0Abinxsd.exe
C:Program FilesMicrosoft Visual Studio 8SDKv2.0Binxsd.exe

I have VS2005 and VS2008 installed (and had VS2003 before installed).

I have xsd.exe here: C:Program FilesMicrosoft SDKsWindowsv6.0Abinxsd.exe So I think you have yours at the Windows Platform SDK corresponding path on your machine. Make sure you have installed PlatformSDK sometimes it can be in VisualStudio directory

C:Program FilesMicrosoft SDKsWindowsv7.0ABin

Or on a 64 bit machine:

C:Program Files (x86)Microsoft SDKsWindowsv7.0ABin

Windows 10:

C:Program Files (x86)Microsoft SDKsWindowsv10.0AbinNETFX 4.6 Tools

Or on a 64 bit machine:

C:Program Files (x86)Microsoft SDKsWindowsv10.0AbinNETFX 4.6 Toolsx64

Leave a Reply

Your email address will not be published. Required fields are marked *