20

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?

AnthonyLambert
  • 8,768
  • 4
  • 37
  • 72

5 Answers5

28

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"

AnthonyLambert
  • 8,768
  • 4
  • 37
  • 72
  • Did you look where the other answers said to look, and then didn't find it? – John Saunders Jul 02 '09 at 12:47
  • 2
    It's not just where to find it, it is also how and why it is where it is. We're building on many developer's machines and also a continuous build server. I want to be able to get veery machine building against a consitent version and location. – AnthonyLambert Jul 06 '09 at 10:32
  • we'll it is the answer I am most happy with ;-) ! – AnthonyLambert Jul 06 '09 at 10:33
  • 9
    I have VS 2010 installed on Windows 7 64-bit and XSD.EXE is located here: `C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64\xsd.exe` – JYelton Aug 19 '10 at 22:17
  • What is the version of xsd.exe on your system, after installing the package? – Joshua Drake Sep 13 '10 at 20:13
  • on my 2008 system it is: Microsoft (R) Xml Schemas/DataTypes support utility [Microsoft (R) .NET Framework, Version 2.0.50727.3038] Copyright (C) Microsoft Corporation. All rights reserved. – AnthonyLambert Sep 14 '10 at 11:52
9

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).

AndersK
  • 35,813
  • 6
  • 60
  • 86
7

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

justadreamer
  • 2,410
  • 2
  • 21
  • 24
2
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
Ian Newson
  • 7,679
  • 2
  • 47
  • 80
1

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

GerardBeckerleg
  • 881
  • 1
  • 8
  • 14