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?
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 Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.exe
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\xsd.exe
I have VS2005 and VS2008 installed (and had VS2003 before installed).
I have xsd.exe here: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.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 Files\Microsoft SDKs\Windows\v7.0A\Bin
Or on a 64 bit machine:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
Windows 10:
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools
Or on a 64 bit machine:
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64
来源:https://stackoverflow.com/questions/1073228/i-cant-find-xsd-exe-in-visual-studio-2008