where to find xsd.exe in visual studio 2013 on windows 8
Solution 1:
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.
Solution 2:
This is part of the Windows SDK. I know that you can download the Windows 7 SDK for .NET 4.0 and the files will be installed and will be fully functional on Windows 8. (It is installed in C:\Program Files (x86)\Microsoft SDKs\Windows\?version?\bin\NETFX 4.0 Tools where version will be OS version like v8 or similar)
http://www.microsoft.com/en-us/download/details.aspx?id=8279
You may also find the xsd application as part of the full SDK.
For Windows 8: http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx
For Windows 8.1: http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
Also if you are so inclined to use other works, at Codeplex there is a nice alternative to xsd.exe: http://xsd2code.codeplex.com/
Solution 3:
If you have Visual Studio installed, then you may locate Developer Command Prompt (it is a shortcut in Start menu, or it should be available from VS IDE). A cmd window opens and you are able to run xsd.exe from it.
Solution 4:
Add the following to your environment variable PATH
:
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools
- Go to
C:\Program Files (x86)\Microsoft SDKs\Windows\
- Click latest version (e.g.
v10.0A
) - Click
Bin
- Select latest .NET Version e.g.
NETFX 4.7.2 Tools
- There is
xsd.exe
Run via command line using xsd /c filename.xsd