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?
相关问题
- Illegal to have multiple roots (start tag in epilo
- Generic Generics in Managed C++
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- How to Debug/Register a Permanent WMI Event Which
Or on a 64 bit machine:
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 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
Windows 10:
Or on a 64 bit machine:
I have xsd.exe here
I have VS2005 and VS2008 installed (and had VS2003 before installed).