.net 我在 Visual Studio 2008 中找不到 xsd.exe?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1073228/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
I can't find xsd.exe in Visual Studio 2008?
提问by AnthonyLambert
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?
在 Visual Studio 2005 中,XSD 编译器位于 SDK/v2.0 目录中。在 Visual Studio 中,只有一个 SDK/v3.5 目录消失了,xsd.exe 编译器也消失了。它去哪儿了?
回答by AnthonyLambert
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
对上述答案并不完全满意,我发现包含 XSD.exe 编译器的 SDK 现在作为 Windows SDK 的一部分分发。请参阅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:
它作为 Visual Studio 2008 包的一部分分发,但他们已将其从 Visual Studio 目录树移至:
on 32bit Windows "Program Files/Microsoft SDKs", and on 64bit Windows "Program Files (x86)/Microsoft SDKs"
在 32 位 Windows“程序文件/Microsoft SDK”和 64 位 Windows 上“程序文件 (x86)/Microsoft SDK”
回答by AndersK
I have xsd.exe here
我这里有 xsd.exe
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).
我安装了 VS2005 和 VS2008(并且在安装之前安装了 VS2003)。
回答by justadreamer
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
我这里有 xsd.exe:C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.exe 所以我认为你在你的机器上的 Windows Platform SDK 对应路径中有你的。确保您已安装 PlatformSDK 有时它可以在 VisualStudio 目录中
回答by Ian Newson
C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin
Or on a 64 bit machine:
或者在 64 位机器上:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
回答by GerardBeckerleg
Windows 10:
视窗 10:
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 工具
Or on a 64 bit machine:
或者在 64 位机器上:
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64

