views:

5096

answers:

3

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?

Tony

+1  A: 

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
A: 

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

Anders K.
+9  A: 

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 "Program Files/Microsoft SDKs".

Tony Lambert
Did you look where the other answers said to look, and then didn't find it?
John Saunders
That's cool, to accept your answer as an answer to your question...
Svetlozar Angelov
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.
Tony Lambert
we'll it is the answer I am most happy with ;-) !
Tony Lambert
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
What is the version of xsd.exe on your system, after installing the package?
Joshua Drake
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.
Tony Lambert